Skip to main content

ntfy EUVDEUVD-2026-25232

| CVE-2026-39087 MEDIUM
Code Injection (CWE-94)
2026-04-23 mitre GHSA-pqhx-w72w-m393
Medium
Disputed · 6.4 Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to ntfy instance
  2. Delivery
    Craft web push endpoint URL embedding allowed regex substring
  3. Exploit
    Submit registration request bypassing unanchored allow-list
  4. Execution
    Server issues outbound HTTP to internal network target
  5. Impact
    Enumerate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

Affected Packages

go heckel.io/ntfy no fix
go heckel.io/ntfy/v2 fix: 2.22.0

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)
Vendor (mitre) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.0 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N
SUSE CRITICAL

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

4
Severity Changed
Jul 04, 2026 - 16:22 NVD
CRITICAL MEDIUM
CVSS changed
Jul 04, 2026 - 16:22 NVD
9.8 (CRITICAL) 6.4 (MEDIUM)
CVSS changed
Apr 23, 2026 - 19:27 NVD
9.8 (CRITICAL)
CVE Published
Apr 23, 2026 - 00:00 nvd
CRITICAL 9.8

DescriptionCVE.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

EPSS Score
0.2%
Top 52% exploitable
Prevalence
Medium
popular self-hosted push notification service, broad hobbyist and SMB use
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy