CVE-2026-138048

medium

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.

References

https://www.vulncheck.com/advisories/ntfy-before-2.38.3-ssrf-via-web-push-endpoint-allow-list-bypass

https://github.com/binwiederhier/ntfy/releases/tag/v2.38.3

https://github.com/binwiederhier/ntfy/compare/v2.38.3...main

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137509

https://docs.ntfy.sh/releases/#ntfy-server-v2383

Details

Source: Mitre, NVD

Published: 2026-11-27

Updated: 2026-11-27

CVSS v3

Base Score: 5.3

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Severity: Medium

CVSS v4

Base Score: 6.9

Vector: 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

Severity: Medium