Vulnerability · Published May 27, 2026 · Assigned by GitHub_M
CVE-2026-45088Dalfox: Unauthenticated Arbitrary File Read with Out-of-Band Exfiltration via `custom-payload-file` in Dalfox Server Mode
High 7.5
In plain English
A high-severity missing authentication in dalfox from hahwul. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/hahwul/dalfox | no fix listed | GO-2026-5070 |
| Go | github.com/hahwul/dalfox/v2 | 2.13.0 | GHSA-35wr-x7v6-9fv2 |
| Go | github.com/hahwul/dalfox/v2 | 2.13.0 | GO-2026-5070 |
Affected products (as reported)
Weakness: CWE-73, CWE-306, CWE-552 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/hahwul/dalfox/security/advisories/GHSA-35wr-x7v6-9fv2 x_refsource_CONFIRM
- https://github.com/hahwul/dalfox/releases/tag/v2.13.0 x_refsource_MISC