CVE-2026-138048
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-138048 NameCVE-2026-138048 Descriptionntfy 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,…
CVE-2026-138048
| Name | CVE-2026-138048 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ntfy (PTS) | trixie | 2.11.0-2 | vulnerable |
| forky, sid | 2.27.0-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ntfy | source | (unstable) | (unfixed) |
Notes
[trixie] - ntfy <no-dsa> (Minor issue)
https://github.com/binwiederhier/ntfy/releases/tag/v2.38.3
Apply commands
[trixie] - ntfy <no-dsa> (Minor issue)https://github.com/binwiederhier/ntfy/releases/tag/v2.38.3
OS impact
Debian Mixed 3 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | ntfy |
Affected | — |
| sid | ntfy |
Fixed | 2.38.3-1 |
| forky | ntfy |
Affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| binwiederhier | ntfy | {"endExcluding":"2.38.3"} | 2.38.3 |
References
- https://docs.ntfy.sh/releases/#ntfy-server-v2383
- https://github.com/binwiederhier/ntfy/compare/v2.38.3...main
- https://github.com/binwiederhier/ntfy/releases/tag/v2.38.3
- https://www.vulncheck.com/advisories/ntfy-before-2.38.3-ssrf-via-web-push-endpoint-allow-list-bypass
- https://security-tracker.debian.org/tracker/CVE-2026-138048
CWEs
CWE-918
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.