Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to ntfy instance
-
DeliveryCraft web push endpoint URL embedding allowed regex substring
-
ExploitSubmit registration request bypassing unanchored allow-list
-
ExecutionServer issues outbound HTTP to internal network target
-
ImpactEnumerate or exfiltrate internal service responses
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a low-privileged authenticated account on the ntfy instance (PR:L per CVSS vector) and that the web push notification feature is enabled and accessible. The vulnerability is triggered through the web push endpoint registration flow specifically - deployments with web push disabled are not affected. Exploitation is further limited by whether the ntfy server has outbound network reach to sensitive internal resources; a server with no internal network adjacency presents minimal lateral-movement risk even if SSRF succeeds. No user interaction by a victim is required. The attack is network-reachable over standard HTTP/HTTPS without physical or local access. |
| Impact | The provided CVSS score of 6.4 with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N is internally consistent with SSRF - a scope-changing, low-confidentiality/integrity impact - but directly contradicts the CVE description claiming arbitrary code execution. This is a material discrepancy: if the vulnerability were true RCE, C:H/I:H/A:H metrics and a score near 9.9 would be expected. The SSRF interpretation supported by release notes GHSA-w9hq-5jg7-q4j7 is more credible. EPSS at 0.25% (48th percentile) reflects low exploitation probability. SSVC flags 'Automatable: yes' and 'Technical Impact: total', which appears overstated for SSRF unless internal infrastructure is highly sensitive. Exploitation status is 'none' per SSVC with no CISA KEV listing. A public PoC gist exists (MightyNawaf), which modestly raises near-term exploitation risk for exposed self-hosted instances. Real-world priority is moderate: self-hosted ntfy deployments with web push enabled and access to sensitive internal networks face meaningful lateral movement risk. |
| Exploit ScenarioDerived | An authenticated ntfy user registers a web push subscription endpoint using a crafted URL such as 'https://evil-domain.com/bypass?url=https://allowed.ntfy.sh' - the unanchored allow-list regex matches the embedded trusted string, and the ntfy server issues an outbound HTTP request to the attacker-controlled (or internal) target URL. A public proof-of-concept gist by researcher MightyNawaf (https://gist.github.com/MightyNawaf/5d41d6e8ead16e217f86b016002ecae5) documents the exploitation technique, enabling less sophisticated actors to replicate the attack against exposed self-hosted instances with internal network access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Server-Side Request Forgery (SSRF) in ntfy (ntfy.sh) before v2.22.0 allows authenticated remote attackers to make the server issue arbitrary HTTP requests to internal network resources by exploiting an unanchored regex pattern in the web push endpoint allow-list. Despite the CVE description attributing the vulnerability to the 'parseActions' function with an RCE classification, the confirmed fix in v2.22.0 - tightening the web push endpoint allow-list regex to prevent SSRF via unanchored pattern matching - indicates the real impact is SSRF, not arbitrary code execution. No active exploitation has been confirmed (not in CISA KEV), though a public proof-of-concept gist exists from the reporter.
RemediationAI
Upgrade ntfy to v2.22.0 or later, which tightens the web push endpoint allow-list regex to use anchored pattern matching, closing the SSRF bypass. The patched release is available at https://github.com/binwiederhier/ntfy/releases/tag/v2.22.0. As a compensating control for deployments that cannot immediately upgrade, operators should disable web push functionality (if configurable) or restrict the ntfy server's outbound network access via egress firewall rules to prevent it from reaching internal services - note this may break legitimate push notification delivery to external services. Restricting which users can register web push endpoints (if access control permits) further reduces the attack surface. The vendor advisory is referenced via GHSA-w9hq-5jg7-q4j7.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ntfy is an open-source HTTP-based notification service (ntfy.sh). The vulnerability resides in the web push endpoint registration flow, where the server validates subscriber-supplied push endpoint URLs against an allow-list enforced by a regular expression. Because the regex was not anchored (missing start/end anchors such as ^ and $), an attacker could supply a crafted URL containing the allowed pattern as a substring - e.g., embedding the trusted domain mid-URL - bypassing the filter while directing the server to make outbound HTTP requests to arbitrary destinations including internal network services. CWE-94 (Code Injection) appears to be a mislabeling by MITRE; the root cause is more accurately CWE-918 (Server-Side Request Forgery) or CWE-185 (Incorrect Regular Expression). The CVSS vector provided (S:C, C:L/I:L) aligns with SSRF semantics rather than full RCE, reinforcing the release-note-confirmed interpretation.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
Sources disagree (Medium–Critical)AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
SSRF via web push endpoint requires authenticated low-privilege user (PR:L); scope changes to internal network (S:C); confidentiality impact only (C:L), no integrity or availability impact confirmed.
vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.
CVSS VectorVendor: mitre
Lifecycle Timeline
4DescriptionCVE.org
An issue in Ntfy ntfy.sh before v.2.21 allows a remote attacker to execute arbitrary code via the parseActions function
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
Same weakness CWE-94 – Code Injection
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-25232
GHSA-pqhx-w72w-m393
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB