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

Source: https://aplosec.si/cve/CVE-2026-138048/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-138048

Medium 6.9 · Reported · Fixed in 2.38.3 · CWE-918 · Multiple credited contributors · Go

# ntfy before 2.38.3 SSRF via Web Push Endpoint Allow-list Bypass

CVE-2026-138048 · published 2026-11-27

In plain words: this type of bug lets someone trick the server into making requests to places it should not reach (server-side request forgery, SSRF). A fixed release is listed.

## Summary

CVE-2026-138048 affects github.com/binwiederhier/ntfy (Go) < 2.38.3: SSRF via web push endpoint allow-list bypass (CWE-918). Fixed in 2.38.3. CVSS 4.0 base score 6.9 (Medium), assigned by VulnCheck. Published 2026-11-27 by VulnCheck. Credit: jpabeem, brennocm, Zachariah Mithani (AploSec).

ntfy before 2.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 the mozaws.net and notify.windows.com hosts. An endpoint such as attacker.example#.mozaws.net/push passes validation while Go parses the actual host as attacker.example, so the server sends subsequent web push POST requests to an attacker-controlled or internal host. Fixed in 2.38.3.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade github.com/binwiederhier/ntfy to 2.38.3 or later. Releases in the affected range (< 2.38.3) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-11-27 CVE published

- 2026-11-28 Public record last updated

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/ntfy-before-2.38.3-ssrf-via-web-push-endpoint-allow-list-bypass](https://www.vulncheck.com/advisories/ntfy-before-2.38.3-ssrf-via-web-push-endpoint-allow-list-bypass)

- [Releasehttps://github.com/binwiederhier/ntfy/releases/tag/v2.38.3](https://github.com/binwiederhier/ntfy/releases/tag/v2.38.3)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-138048](https://www.cve.org/CVERecord?id=CVE-2026-138048)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-138048](https://nvd.nist.gov/vuln/detail/CVE-2026-138048)

**Severity:** Medium 6.9 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-138048)

**Package:** github.com/binwiederhier/ntfy

**Ecosystem:** Go

**Affected:** < 2.38.3

**Fixed:** 2.38.3

**Weakness:** CWE-918

**CNA:** VulnCheck

**Credit:** jpabeem finder · brennocm finder · Zachariah Mithani (AploSec) finder
