Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
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-endpoi
FAQ
What is CVE-2026-138048?
CVE-2026-138048 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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...
How severe is CVE-2026-138048?
CVE-2026-138048 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-138048?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.