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

Published Nov 27, 2026
·
Updated

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.

Affected Software

1 affected component
Ntfy ntfy<2.38.3

Event History

Nov 27, 2026
CVE Published
via MITRE·07:38 PM
Data Sourced
via MITRE·07:38 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:18 PM
DescriptionSeverityWeakness
Event
via NVD·08:18 PM

Frequently Asked Questions

1

Who can exploit this issue?

A remote attacker can exploit it without authentication or user interaction by submitting a crafted web push endpoint URL. Exploitation relies on endpoints whose validation is intended to restrict delivery to mozaws.net or notify.windows.com.

2

What requests can the attacker cause the server to make?

The attacker can cause subsequent web push POST requests to be sent to an attacker-controlled host or an internal host. The crafted endpoint uses '#' or '?' characters to pass the allow-list regex while Go parses a different actual host.

3

Which versions are affected?

ntfy versions before 2.38.3 are affected. Updating to version 2.38.3 addresses the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203