{"id":"CVE-2026-138048","summary":"ntfy before 2.38.3 SSRF via Web Push Endpoint Allow-list Bypass","details":"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.","modified":"2026-11-27T21:00:53.152694067Z","published":"2026-11-27T19:38:16.358Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138048.json","unresolved_ranges":[{"extracted_events":[{"strategy":"StandardRange","range":[{"fixed":"2.38.3"}],"source":"AFFECTED_FIELD"}]},{"extracted_events":[{"range":[{"fixed":"2.38.3"}],"source":"DESCRIPTION"}]}],"cna_assigner":"VulnCheck","cwe_ids":["CWE-918"]},"references":[{"type":"ADVISORY","url":"https://docs.ntfy.sh/releases/#ntfy-server-v2383"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138048.json"},{"type":"PACKAGE","url":"https://github.com/binwiederhier/ntfy"},{"type":"REPORT","url":"https://github.com/binwiederhier/ntfy/compare/v2.38.3...main"},{"type":"FIX","url":"https://github.com/binwiederhier/ntfy/releases/tag/v2.38.3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138048"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/ntfy-before-2.38.3-ssrf-via-web-push-endpoint-allow-list-bypass"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/binwiederhier/ntfy","events":[{"introduced":"0"},{"fixed":"5dc000a53e595395fc7014cb561f00af82f4422e"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"5dc000a53e595395fc7014cb561f00af82f4422e"}],"source":"REFERENCES_TAG","original_tag":"v2.38.3"}]}}],"versions":["v2.38.2","v2.38.1","v2.38.0","v2.37.2","v2.37.1","v2.37.0","v2.36.0","v2.35.0","v2.34.0","v2.33.1","v2.33.0","v2.32.0","v2.31.1","v2.31.0","v2.30.0","v2.29.0","v2.28.0","v2.27.0","v2.26.0","v2.25.0","v2.15.0","v2.14.0","v2.13.0","v2.12.0","v2.11.0","v2.10.0","v2.9.0","v2.8.0","v2.7.0","v2.5.0","v2.4.0","v2.3.1","v2.3.0","v2.2.0","v2.1.2","v2.1.0","v1.29.1","v1.28.0","v1.27.2","v1.27.1","v1.26.0","v1.24.0","v1.23.0","v1.22.0","v1.21.2","v1.21.1","v1.21.0","v1.20.0","v1.18.0","v1.17.1","v1.17.0","v1.15.0","v1.14.1","v1.14.0","v1.13.0","v1.11.2","v1.11.1","v1.11.0","v1.10.0","v1.9.0","v1.8.0","v1.7.0","v1.6.1","v1.6.0","v1.5.3","v1.5.2","v1.5.0","v1.4.8","v1.4.6","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.1","v1.3.0","v1.2.5","v1.2.4","v1.2.3","v1.2.2","v1.1.2","v1.1.1","v1.1.0","v1.0.0","v0.0.5","v0.0.4","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138048.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}