The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-39087

CVE-2026-39087: Ntfy RCE Vulnerability via parseActions

CVE-2026-39087 is a remote code execution vulnerability in Ntfy before v2.21 affecting the parseActions function. Attackers can exploit this flaw to execute arbitrary code remotely. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: April 23, 2026

CVE-2026-39087 Overview

A critical remote code execution vulnerability has been identified in Ntfy ntfy.sh, a popular open-source push notification service. The vulnerability exists in the parseActions function and allows remote attackers to execute arbitrary code on affected systems without requiring any authentication or user interaction.

Critical Impact

This vulnerability enables unauthenticated remote attackers to achieve full system compromise by exploiting improper input handling in the parseActions function, potentially leading to complete server takeover.

Affected Products

  • Ntfy ntfy.sh versions prior to v.2.21

Discovery Timeline

  • April 23, 2026 - CVE-2026-39087 published to NVD
  • April 23, 2026 - Last updated in NVD database

Technical Details for CVE-2026-39087

Vulnerability Analysis

This vulnerability is classified as CWE-94 (Improper Control of Generation of Code, also known as Code Injection). The flaw resides in the parseActions function within the Ntfy notification service, which fails to properly sanitize or validate user-supplied input before processing it. This allows attackers to inject and execute arbitrary code on the target system.

The network-accessible nature of this vulnerability, combined with the lack of authentication requirements and no need for user interaction, makes it particularly dangerous for organizations running vulnerable Ntfy instances. Successful exploitation grants attackers the ability to compromise confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause of CVE-2026-39087 stems from insufficient input validation and sanitization within the parseActions function. When processing notification action parameters, the function fails to adequately filter malicious payloads, allowing crafted input to be interpreted and executed as code. This code injection vulnerability occurs because user-controlled data flows into code execution paths without proper neutralization of special elements.

Attack Vector

The attack vector for this vulnerability is network-based, requiring no privileges or user interaction. An attacker can remotely target any exposed Ntfy instance by sending specially crafted requests that contain malicious payloads targeting the parseActions function. The low attack complexity means that exploitation is straightforward once an attacker identifies a vulnerable target.

The exploitation flow involves:

  1. Identifying a vulnerable Ntfy instance (versions before v.2.21)
  2. Crafting a malicious request containing code injection payload
  3. Sending the request to the target's parseActions endpoint
  4. Achieving arbitrary code execution on the server

For technical details on exploitation techniques, refer to the GitHub Gist Exploit Code published by security researchers.

Detection Methods for CVE-2026-39087

Indicators of Compromise

  • Unusual outbound network connections from Ntfy server processes
  • Unexpected child processes spawned by the Ntfy service
  • Anomalous entries in Ntfy application logs related to action parsing
  • Unauthorized modifications to system files or configurations on the Ntfy host

Detection Strategies

  • Monitor HTTP requests to Ntfy endpoints for malformed or suspicious action parameters
  • Implement application-layer firewalls to inspect and filter requests containing potential code injection payloads
  • Deploy runtime application self-protection (RASP) solutions to detect code injection attempts
  • Configure SIEM rules to alert on anomalous Ntfy service behavior

Monitoring Recommendations

  • Enable verbose logging on Ntfy instances to capture detailed request information
  • Set up alerts for any code execution attempts or unusual process spawning from the Ntfy service
  • Monitor system calls and file operations performed by the Ntfy process
  • Implement network traffic analysis to detect potential exploitation attempts

How to Mitigate CVE-2026-39087

Immediate Actions Required

  • Upgrade Ntfy ntfy.sh to version 2.21 or later immediately
  • If immediate patching is not possible, consider temporarily taking vulnerable instances offline
  • Restrict network access to Ntfy services using firewall rules to limit exposure
  • Review access logs for signs of exploitation attempts

Patch Information

The vulnerability has been addressed in Ntfy version 2.21. Organizations should upgrade to this version or later to remediate the vulnerability. For additional information about the affected service, refer to the Ntfy Notification Service and NtfySH Service Overview resources.

Workarounds

  • Implement network segmentation to isolate Ntfy instances from untrusted networks
  • Deploy a web application firewall (WAF) with rules to block code injection patterns
  • Disable or restrict the actions functionality if not required for operations
  • Use reverse proxy configurations to filter potentially malicious requests before they reach the Ntfy service
bash
# Example: Restrict access to Ntfy using iptables
# Allow only trusted IP ranges to access Ntfy service
iptables -A INPUT -p tcp --dport 80 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechNtfy

  • SeverityCRITICAL

  • CVSS Score9.8

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • Ntfy Notification Service

  • NtfySH Service Overview

  • GitHub Gist Exploit Code
  • Latest CVEs
  • CVE-2026-46333: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-2586: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-2587: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-45255: FreeBSD bsdinstall/bsdconfig RCE Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English