# CVE-2026-138048: ntfy before 2.38.3 SSRF via Web Push Endpoint Allow-list Bypass

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-11-27T19:38:16.358Z
- Modified: 2026-11-30T16:17:18.463Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- binwiederhier ntfy: before 2.38.3

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/binwiederhier/ntfy/releases/tag/v2.38.3> (patch, release-notes)
- <https://github.com/binwiederhier/ntfy/compare/v2.38.3...main> (issue-tracking)
- <https://docs.ntfy.sh/releases/#ntfy-server-v2383> (release-notes, technical-description)
- <https://www.vulncheck.com/advisories/ntfy-before-2.38.3-ssrf-via-web-push-endpoint-allow-list-bypass> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-138048](https://www.cve.org/CVERecord?id=CVE-2026-138048), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138048](https://nvd.nist.gov/vuln/detail/CVE-2026-138048), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138048 · Whole record: https://cve.day/CVE-2026-138048.json · Rebuilt by cve.day 2026-11-30T16:32:24.556Z
