A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-45087

CVE-2026-45087: Dalfox XSS Scanner RCE Vulnerability

CVE-2026-45087 is a remote code execution flaw in Dalfox XSS scanner's REST API server mode that allows unauthenticated attackers to execute arbitrary shell commands. This article covers technical details, affected versions, and mitigations.

Published: May 28, 2026

CVE-2026-45087 Overview

CVE-2026-45087 is an unauthenticated remote command execution vulnerability in Dalfox, an open-source cross-site scripting (XSS) scanner with automation features. Versions prior to 2.13.0 expose a REST API server that binds to 0.0.0.0:6664 by default and requires no API key unless the operator passes --api-key. The server deserializes model.Options directly from attacker-supplied JSON in POST /scan, including the FoundAction and FoundActionShell fields. The dalfox.Initialize function propagates these fields into the final scan options, allowing any caller who can reach the port to execute arbitrary shell commands on the host when a scan finding triggers. The issue is fixed in Dalfox 2.13.0.

Critical Impact

Unauthenticated attackers with network access to the Dalfox REST API server can execute arbitrary shell commands on the host running the scanner.

Affected Products

  • Dalfox versions prior to 2.13.0
  • Dalfox REST API server mode (dalfox server)
  • Deployments exposing TCP port 6664 without --api-key

Discovery Timeline

  • 2026-05-27 - CVE-2026-45087 published to NVD
  • 2026-05-27 - Last updated in NVD database

Technical Details for CVE-2026-45087

Vulnerability Analysis

Dalfox provides a REST API server mode invoked through dalfox server. When started, the server binds to 0.0.0.0:6664 and accepts requests without authentication unless the operator explicitly supplies --api-key. The POST /scan endpoint accepts a JSON body that maps directly to the internal model.Options structure. Two fields in that structure, FoundAction and FoundActionShell, define an external command and shell to execute when the scanner identifies a finding. Because dalfox.Initialize forwards both fields into the active scan configuration without sanitization, an attacker controls the command Dalfox spawns on the host. The flaw is classified under [CWE-15] (External Control of System or Configuration Setting) and yields full integrity, confidentiality, and availability loss on the host.

Root Cause

The root cause is unauthenticated, attacker-controlled deserialization of security-sensitive configuration. The REST API trusts JSON input to populate the same options structure used by the command-line interface. Sensitive fields that drive shell execution are never stripped or validated before reaching the scan pipeline.

Attack Vector

An attacker sends a single HTTP POST request to the exposed Dalfox port with a JSON payload that sets FoundActionShell to a shell such as /bin/sh -c and FoundAction to an arbitrary command. The attacker then triggers a scan against any target that produces a finding. When the finding fires, Dalfox executes the attacker-supplied command with the privileges of the Dalfox process. No credentials, user interaction, or prior access are required. See the GitHub Security Advisory GHSA-v25v-m36w-jp4h for technical details.

Detection Methods for CVE-2026-45087

Indicators of Compromise

  • Inbound HTTP requests to TCP port 6664 from untrusted networks targeting the /scan endpoint.
  • Dalfox process spawning unexpected child processes such as sh, bash, curl, wget, or nc.
  • Outbound network connections initiated by the Dalfox process to attacker-controlled infrastructure.
  • New cron jobs, SSH keys, or persistence artifacts created by the user account running Dalfox.

Detection Strategies

  • Inspect HTTP request bodies sent to port 6664 for the JSON keys FoundAction and FoundActionShell.
  • Alert on Dalfox binary executions whose parent-child process tree includes shell interpreters.
  • Correlate scan request timestamps with process creation events on hosts running dalfox server.

Monitoring Recommendations

  • Forward endpoint process telemetry and network flow logs from Dalfox hosts to a centralized analytics platform.
  • Monitor binding of Dalfox to 0.0.0.0 and flag any instance reachable beyond localhost.
  • Track installed Dalfox versions across the environment and alert on versions earlier than 2.13.0.

How to Mitigate CVE-2026-45087

Immediate Actions Required

  • Upgrade Dalfox to version 2.13.0 or later on all systems running the REST API server.
  • Restrict network access to TCP port 6664 to trusted management hosts using host or network firewalls.
  • Stop any dalfox server processes that are exposed to untrusted networks until patched.
  • Review host logs for unexpected child processes of Dalfox and rotate credentials reachable from the host.

Patch Information

The maintainers fixed the vulnerability in Dalfox 2.13.0. The release strips FoundAction and FoundActionShell from REST API input so they cannot be controlled by remote callers. Download details are available in the GitHub Dalfox Release v2.13.0 notes.

Workarounds

  • Bind the Dalfox server to 127.0.0.1 instead of 0.0.0.0 so it is not reachable from remote networks.
  • Always start the server with --api-key and use a high-entropy key when the REST API must be exposed.
  • Run Dalfox as a low-privilege user inside a container without access to sensitive host paths or credentials.

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDalfox

  • SeverityCRITICAL

  • CVSS Score10.0

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-15
  • Technical References
  • GitHub Dalfox Release v2.13.0

  • GitHub Security Advisory GHSA-v25v-m36w-jp4h
  • Related CVEs
  • CVE-2026-45089: Dalfox Path Traversal Vulnerability

  • CVE-2026-45088: Dalfox XSS Scanner File Read Vulnerability

  • CVE-2026-45090: Dalfox XSS Scanner DoS Vulnerability
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