# CVE-2026-45088: Dalfox: Unauthenticated Arbitrary File Read with Out-of-Band Exfiltration via `custom-payload-file` in Dalfox Server Mode

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-12T15:08:13.000Z
- Modified: 2026-10-26T11:10:00.157Z
- Also known as: GHSA-35wr-x7v6-9fv2, GO-2026-5070
- Weaknesses: CWE-73, CWE-306, CWE-552
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- hahwul dalfox: < 2.13.0
- github.com/hahwul/dalfox/v2 (Go): before 2.13.0
- github.com/hahwul/dalfox (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `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> (exploit, advisory, web)
- <https://github.com/hahwul/dalfox/releases/tag/v2.13.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45088> (advisory)
- <https://github.com/hahwul/dalfox> (package)

## Sources

- CVE List: [CVE-2026-45088](https://www.cve.org/CVERecord?id=CVE-2026-45088), CVE Terms of Use, modified 2026-05-27
- GitHub Advisory Database: [GHSA-35wr-x7v6-9fv2](https://github.com/advisories/GHSA-35wr-x7v6-9fv2), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5070](https://pkg.go.dev/vuln/GO-2026-5070), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-45088](https://nvd.nist.gov/vuln/detail/CVE-2026-45088), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-45088 · Whole record: https://cve.day/CVE-2026-45088.json · Rebuilt by cve.day 2026-11-25T22:59:22.632Z
