CVE-2026-138048
ntfy before 2.38.3 SSRF via Web Push Endpoint Allow-list Bypass
Medium · 6.9Fix available
- CVSS
- 6.9
- EPSS
- —
- Published
- 2026-11-27
- Age
- 19h old
- Modified
- 2026-11-27
- Product
- binwiederhier ntfy
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
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.
Fixed in
2.38.3
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | ntfy | >=0, <2.38.3 | 2.38.3 |
Sources
- NVD · first seen 18h ago · NVD terms of use
- OSV · first seen 18h ago · CC-BY 4.0
- CVE List · first seen 19h ago · CVE Terms of Use
References
- https://github.com/binwiederhier/ntfy/releases/tag/v2.38.3 patch
- https://github.com/binwiederhier/ntfy/compare/v2.38.3...main issue-tracking
- https://docs.ntfy.sh/releases/#ntfy-server-v2383 release-notes
- https://www.vulncheck.com/advisories/ntfy-before-2.38.3-ssrf-via-web-push-endpoint-allow-list-bypass third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138048.json advisory
- https://github.com/binwiederhier/ntfy package
- https://nvd.nist.gov/vuln/detail/CVE-2026-138048 advisory