Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.5

CVE-2026-45088: Dalfox server mode lets remote attacker read any file

CVE-2026-45088 · published 5 months ago
Summary

If you run Dalfox version earlier than 2.13.0 in its REST API server mode, an unauthenticated network attacker can ask the server to open and return the contents of any file it can access. This could expose configuration files, credentials, or other sensitive data. Update Dalfox to version 2.13.0 or later, or restrict access to the API with proper authentication, to stop the issue.

What to do
  • Update github.com hahwul to version 2.13.0.
Affected software
Ecosystem VendorProductAffected versions
go github.com hahwul <= 2.12.0
Fix: upgrade to 2.13.0
Original advisory text
Dalfox: Unauthenticated Arbitrary File Read with Out-of-Band Exfiltration via `custom-payload-file` in Dalfox Server Mode
Dalfox is a powerful open-source XSS scanner and utility focused on automation. Prior to 2.13.0, when dalfox is run in REST API server mode, the custom-payload-file field in model.Options is JSON-tagged and deserialized directly from the attacker's request body, then propagated unchanged through dalfox.Initialize into the scan engine. The engine passes the value to voltFile.ReadLinesOrLiteral, which reads lines from any file path accessible to the dalfox process and embeds each line as an XSS payload in outbound HTTP requests directed at the attacker-controlled target URL. Because the server has no API key by default, an unauthenticated network attacker can exfiltrate the contents of arbitrary files on the dalfox host by reading them line-by-line through scan traffic. This vulnerability is fixed in 2.13.0.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker partial control
Severity
7.5 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-73External Control of File Name or Path
CWE-306Missing Authentication for Critical Function
CWE-552Files or Directories Accessible to External Parties
Timeline
Published27 May 2026
Updated4 Nov 2026
First seen12 May 2026
Sources
Track software like this
Free during beta