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 6 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 | Vendor | Product | Affected 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.
References
- https://github.com/advisories/GHSA-35wr-x7v6-9fv2
- https://github.com/hahwul/dalfox/releases/tag/v2.13.0
- https://github.com/hahwul/dalfox/security/advisories/GHSA-35wr-x7v6-9fv2
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45088... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-45088 Vendor Advisory
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker partial control
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
Updated22 Nov 2026
First seen12 May 2026
Track software like this
Free during beta