AploSec / Disclosures / CVE-2026-138048

Medium 6.9ReportedFixed in 2.38.3CWE-918Multiple credited contributorsGo

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

Severity
Medium 6.9CVSS 4.0, scored by VulnCheck in the CVE record
Package
github.com/binwiederhier/ntfy
Ecosystem
Go
Affected
< 2.38.3
Fixed
2.38.3
Weakness
CWE-918
CNA
VulnCheck
Credit
jpabeemfinderbrennocmfinderZachariah Mithani (AploSec)finder