CVE-2026-39087
JSON

6.4medium

ntfy.sh allows a remote attacker to execute arbitrary code via the parseActions function

Severity
6.4medium CVSS:3.1 by mitre
Exploit likelihood
0.28% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-pqhx-w72w-m393GO-2026-5551

Description

ntfy before 2.22.0 allows SSRF because of an unanchored regular expression for web push endpoint URLs.

Affected

Product or packageVersionsReported by
ntfy ntfybefore 2.22.0CVE List
heckel.io/ntfy/v2 (Go)before 2.22.0GitHub Advisory Database, Go Vulnerability Database
heckel.io/ntfy (Go)all versionsGo Vulnerability Database

All scores

mitre6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94CWE-777

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

ntfy before 2.22.0 allows SSRF because of an unanchored regular expression for web push endpoint URLs.

GitHub Advisory Database

An issue in Ntfy ntfy.sh before v.2.22.0 allows a remote attacker to execute arbitrary code via the parseActions function.

Go Vulnerability Database

ntfy.sh allows a remote attacker to execute arbitrary code via the parseActions function in heckel.io/ntfy

References

Sources

SourceRecordLicence
CVE ListCVE-2026-39087 changed 2026-07-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-pqhx-w72w-m393 changed 2026-06-25CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5551 changed 2026-06-25CC-BY-4.0
NVDCVE-2026-39087 changed 2026-07-04Public domain