CVE-2026-138048
Received Received - Intake

Server-Side Request Forgery in ntfy Before v2.38.3

Vulnerability report for CVE-2026-138048, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-27

Last updated on: 2026-11-27

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-27
Last Modified
2026-11-27
Generated
2026-11-27
AI Q&A
2026-11-27
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
binwiederhier ntfy From 0 (inc) to 2.38.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-138048 is a server-side request forgery (SSRF) vulnerability in ntfy before v2.38.3. It allows remote attackers to bypass the web push endpoint allow-list by crafting URLs with '#' or '?' characters. For example, an attacker could submit .example#.mozaws.net/push, which passes validation but makes the server send requests to attacker-controlled or internal hosts.

Detection Guidance

To detect this SSRF vulnerability in ntfy before v2.38.3, monitor network traffic for unusual outbound requests to unexpected hosts. Check logs for POST requests to web push endpoints containing '#' or '?' characters in URLs. Inspect server configurations for allow-listed domains and verify if endpoints are validated against parsed URLs rather than raw strings.

Impact Analysis

This vulnerability could allow attackers to make the ntfy server send web push POST requests to arbitrary or internal hosts. If exploited, it may lead to unauthorized access to internal systems, data exfiltration, or further attacks leveraging the server's network access. Users enabling web push are particularly at risk.

Mitigation Strategies

Upgrade ntfy to version v2.38.3 or later immediately. Review and remove any malicious or suspicious web push endpoints from configurations. Disable redirects for web push endpoints and validate all endpoints against parsed URLs. Monitor for any ongoing exploitation attempts in logs.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138048. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...