{"id":"CVE-2026-39087","published":"2026-04-23T00:00:00Z","modified":"2026-07-05T16:16:27Z","title":"ntfy before 2.22.0 allows SSRF because of an unanchored regular expression for web push endpoint URLs","vendor":"ntfy","product":"ntfy","tier":"tail","description":{"text":"ntfy before 2.22.0 allows SSRF because of an unanchored regular expression for web push endpoint URLs.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00501,"percentile":0.35837,"provenance":"source"},"cwes":[{"id":"CWE-777","name":"Regular Expression without Anchors"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://gist.github.com/MightyNawaf/5d41d6e8ead16e217f86b016002ecae5","tags":[]},{"url":"https://github.com/binwiederhier/ntfy/releases/tag/v2.22.0","tags":[]},{"url":"https://ntfy.sh","tags":[]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":7.17},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"ntfy","affectedVersions":[{"vendor":"ntfy","product":"ntfy","versions":["< 2.22.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-23T18:50:01.279347Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"heckel.io/ntfy/v2","vulnerableRanges":["<2.22.0"],"patched":["2.22.0"],"from":["GHSA-pqhx-w72w-m393","GO-2026-5551"],"provenance":"source"},{"ecosystem":"Go","package":"heckel.io/ntfy","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5551"],"provenance":"source"}],"summary":{"text":"ntfy versions before 2.22.0 contain a flaw in the handling of web push endpoint URLs, where an unanchored regular expression lets attacker-supplied URLs pass validation and enables server-side request forgery. An attacker with low-privilege authenticated access can trigger the server to make requests to destinations of their choosing, requiring no user interaction and only network access to the ntfy service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:27Z"},"euvd":{"id":"EUVD-2026-25232","exploited":false,"provenance":"source"}}