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-45088

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

CVE-2026-45088 is a file read vulnerability in Dalfox XSS scanner that allows unauthenticated attackers to exfiltrate arbitrary files when running in REST API mode. This article covers technical details, affected versions, and mitigation.

Published: May 28, 2026

CVE-2026-45088 Overview

CVE-2026-45088 is a file read vulnerability in Dalfox, an open-source Cross-Site Scripting (XSS) scanner and automation utility. The flaw affects Dalfox versions prior to 2.13.0 when running in REST API server mode. The custom-payload-file field in model.Options is deserialized directly from an attacker's JSON request body and passed unchanged into the scan engine. Because the REST API server ships without an API key by default, an unauthenticated network attacker can read arbitrary files accessible to the Dalfox process. The vulnerability is categorized under [CWE-73] External Control of File Name or Path.

Critical Impact

An unauthenticated network attacker can exfiltrate the contents of arbitrary files from the Dalfox host through scan traffic directed at attacker-controlled targets.

Affected Products

  • Dalfox versions prior to 2.13.0
  • Dalfox REST API server mode deployments
  • Hosts running Dalfox without API key authentication configured

Discovery Timeline

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

Technical Details for CVE-2026-45088

Vulnerability Analysis

Dalfox exposes a REST API server mode that accepts scan configuration via JSON request bodies. The model.Options struct contains a JSON-tagged custom-payload-file field intended to point at a local file containing XSS payloads. When deserialized from an HTTP request, the value flows through dalfox.Initialize into the scan engine without sanitization or path restriction.

The scan engine passes the supplied path to voltFile.ReadLinesOrLiteral, which reads each line from the referenced file. Every line is then embedded as an XSS payload inside outbound HTTP requests sent to the scan target. When the target URL is attacker-controlled, the attacker observes file contents arriving as request parameters or body content. This effectively converts the scanner into a file-exfiltration primitive.

Root Cause

The root cause is unsanitized acceptance of a local file path from an untrusted network source. The API server has no default authentication, so the trust boundary that would normally protect the custom-payload-file parameter does not exist. Any file readable by the Dalfox process user — including /etc/passwd, configuration files, SSH keys, or application secrets — can be referenced and read line by line.

Attack Vector

An attacker sends a crafted JSON request to the Dalfox REST API endpoint. The request specifies custom-payload-file pointing to a sensitive file on disk and sets the scan target to a URL under the attacker's control. Dalfox reads the file, then issues HTTP requests to the attacker's server with each file line embedded as an XSS payload. The attacker reconstructs the file contents from inbound web server logs. No credentials, user interaction, or local access are required.

No verified exploit code is published. See the GitHub Security Advisory GHSA-35wr-x7v6-9fv2 for upstream technical details.

Detection Methods for CVE-2026-45088

Indicators of Compromise

  • Inbound HTTP requests to the Dalfox REST API endpoint containing custom-payload-file JSON fields referencing system paths such as /etc/passwd, /root/.ssh/, or application configuration directories.
  • Outbound HTTP traffic from the Dalfox host to unfamiliar external domains containing fragments of file content in query parameters or POST bodies.
  • Dalfox process accessing files outside its expected payload directories.

Detection Strategies

  • Inspect HTTP request bodies destined for Dalfox API listeners and alert on custom-payload-file values that reference paths outside the dedicated payload directory.
  • Correlate file access events on the Dalfox host with outbound HTTP scan traffic to detect file content leaving the system through scanner channels.
  • Monitor for Dalfox API server instances exposed to untrusted networks without an API key configured.

Monitoring Recommendations

  • Log all REST API requests to Dalfox at the reverse proxy or host firewall and retain bodies for forensic review.
  • Alert on Dalfox processes reading sensitive files such as /etc/shadow, private key material, or cloud credential files.
  • Track outbound connections from Dalfox hosts and baseline expected target domains to surface anomalous exfiltration destinations.

How to Mitigate CVE-2026-45088

Immediate Actions Required

  • Upgrade Dalfox to version 2.13.0 or later on every host where the REST API server mode is used.
  • Restrict network access to the Dalfox API listener so that only trusted operators can reach it, using firewall rules or a private network segment.
  • Configure an API key on the Dalfox REST API server and rotate any keys that may have been exposed.
  • Audit the Dalfox host for evidence of unauthorized file reads by reviewing process and network logs.

Patch Information

The vulnerability is fixed in Dalfox 2.13.0. Release notes and the patched binary are available at the GitHub dalfox Release v2.13.0 page. Coordinated disclosure details are documented in the GitHub Security Advisory GHSA-35wr-x7v6-9fv2.

Workarounds

  • Do not expose the Dalfox REST API server to untrusted networks; bind the listener to 127.0.0.1 and access it through SSH tunnels or a VPN.
  • Run Dalfox under a dedicated unprivileged user account that has read access only to its payload directory.
  • Disable REST API server mode entirely when not in active use and rely on the command-line interface for scans.
bash
# Configuration example: bind Dalfox API to localhost and require an API key
dalfox server --host 127.0.0.1 --port 6664 --api-key "$(openssl rand -hex 32)"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechDalfox

  • SeverityHIGH

  • CVSS Score7.5

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

  • GitHub Security Advisory GHSA-35wr-x7v6-9fv2
  • Related CVEs
  • CVE-2026-45089: Dalfox Path Traversal Vulnerability

  • CVE-2026-45090: Dalfox XSS Scanner DoS Vulnerability

  • CVE-2026-45087: Dalfox XSS Scanner RCE 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