# CVE-2026-39087: ntfy.sh allows a remote attacker to execute arbitrary code via the parseActions function

- Severity: Medium 6.4 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-04-23T00:00:00.000Z
- Modified: 2026-07-05T16:16:27.697Z
- Also known as: GHSA-pqhx-w72w-m393, GO-2026-5551
- Weaknesses: CWE-94, CWE-777
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- ntfy ntfy: before 2.22.0
- heckel.io/ntfy/v2 (Go): before 2.22.0
- heckel.io/ntfy (Go): all versions

## Every score

- mitre: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://gist.github.com/MightyNawaf/5d41d6e8ead16e217f86b016002ecae5> (web)
- <https://github.com/binwiederhier/ntfy/releases/tag/v2.22.0> (web)
- <https://ntfy.sh>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39087> (advisory)
- <https://github.com/binwiederhier/ntfy> (package)
- <http://ntfy.com> (web)
- <http://ntfysh.com> (web)
- <https://github.com/advisories/GHSA-pqhx-w72w-m393> (advisory)

## Sources

- CVE List: [CVE-2026-39087](https://www.cve.org/CVERecord?id=CVE-2026-39087), CVE Terms of Use, modified 2026-07-05
- GitHub Advisory Database: [GHSA-pqhx-w72w-m393](https://github.com/advisories/GHSA-pqhx-w72w-m393), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5551](https://pkg.go.dev/vuln/GO-2026-5551), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-39087](https://nvd.nist.gov/vuln/detail/CVE-2026-39087), Public domain, modified 2026-07-04

---

Page: https://cve.day/CVE-2026-39087 · Whole record: https://cve.day/CVE-2026-39087.json · Rebuilt by cve.day 2026-11-25T22:59:19.391Z
