ntfy before 2.38.3 SSRF via Web Push Endpoint Allow-list Bypass
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| binwiederhierntfy |
< 2.38.3→ 2.38.3 |
2.38.3 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-138048 ntfy No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-138048 ntfy No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory docs.ntfy.sh
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- report github.com
- web github.com