CVE-2026-138048
6.9medium
ntfy before 2.38.3 SSRF via Web Push Endpoint Allow-list Bypass
- Severity
- 6.9medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.64% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| binwiederhier ntfy | before 2.38.3 | CVE List |
All scores
| VulnCheck | 6.9medium CVSS:4.0 | 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 |
| VulnCheck | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
| https://github.com/binwiederhier/ntfy/releases/tag/v2.38.3 | patch, release-notes | |
| https://github.com/binwiederhier/ntfy/compare/v2.38.3...main | issue-tracking | |
| https://docs.ntfy.sh/releases/#ntfy-server-v2383 | release-notes, technical-description | |
| https://www.vulncheck.com/advisories/ntfy-before-2.38.3-ssrf-via-web-push-endpoint-allow-list-bypass | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-138048 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-138048 changed 2026-11-30 | Public domain |