CVE-2026-138048 - ntfy before 2.38.3 SSRF via Web Push Endpoint Allow-list Bypass

Vulnerability · Reported by NVD · · CWE-918

Severity
Medium Risk score 69/100
CVSS
6.9 v4.0 · from NVD
Exploit chance (EPSS)
0.64% Higher than 45% of CVEs
Known exploited
No Not in CISA KEV

Summary

ntfy before v2.38.3 contains a server-side request forgery vulnerability that allows remote attackers to bypass the web push endpoint allow-list by crafting a URL containing '#' or '?' characters that satisfy the [^/]+ regex pattern used to validate mozaws.net and notify.windows.com hosts. Attackers can submit an endpoint .example#.mozaws.net/push, which passes validation while Go parses the actual host as attacker.example, causing the server to send subsequent web push POST requests to an attacker-controlled or internal host.

How this vulnerability can be exploited

This is a server-side request forgery (SSRF) flaw (CWE-918). An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is low, so no special conditions are needed.

Is it being exploited?

The EPSS model estimates a 0.64% chance this CVE will be exploited in the next 30 days, which is low and higher than 45% of all published CVEs.

Patch priority and what to do

Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S

See what each part means in the official CVSS calculator ↗

Tags

CVE-2026-138048, Microsoft

Sources & references

How this data is collected: methodology & sources.

Run this software? Get free alerts for new vulnerabilities →

Need to block attackers? Free hourly IOC blocklists (IPs, domains, URLs, hashes) →

Open the live threat dashboard →

Subscribe via RSS.