Server-side request forgery in ntfy web push allow-list bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
ntfy versions before 2.38.3 are affected. A flawed allow-list check for web push endpoints lets a remote attacker submit a crafted URL containing '#' or '?' that passes validation, so the server sends push requests to an attacker-chosen or internal host (CWE-918). An unauthenticated remote attacker can trigger this without user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| binwiederhier | ntfy | before 2.38.3 | 2.38.3 | Patch available | CNA |
- ntfy Vendorbinwiederhier Affected before 2.38.3 Fixed in 2.38.3 Patch available CNA
Remediation
Upgrade ntfy to version 2.38.3, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA ntfy (binwiederhier) Fixed in 2.38.3
Timeline
- 2026-11-27 Threatist record created from CVE-2026-138048
- 2026-11-27 Alias added: GHSA-ww63-fgm6-gf8p
- 2026-11-30 CISA SSVC decision points changed
References
Sources
- CVE-2026-138048 · CVE Program
- CVE-2026-138048 · NVD
- FIRST EPSS
- GHSA-ww63-fgm6-gf8p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences