Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. heckel.io/ntfy/v2
  4. ›
  5. CVE-2026-39087

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

April 23, 2026 (updated May 8, 2026)

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

References

  • gist.github.com/MightyNawaf/5d41d6e8ead16e217f86b016002ecae5
  • github.com/advisories/GHSA-pqhx-w72w-m393
  • github.com/binwiederhier/ntfy
  • github.com/binwiederhier/ntfy/releases/tag/v2.22.0
  • nvd.nist.gov/vuln/detail/CVE-2026-39087

Code Behaviors & Features

Detect and mitigate CVE-2026-39087 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.22.0

Fixed versions

  • 2.22.0

Solution

Upgrade to version 2.22.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

go/heckel.io/ntfy/v2/CVE-2026-39087.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:41 +0000.