Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hahwul/dalfox/v2
  4. ›
  5. CVE-2026-45088

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

May 12, 2026 (updated June 8, 2026)

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.

References

  • github.com/advisories/GHSA-35wr-x7v6-9fv2
  • github.com/hahwul/dalfox/releases/tag/v2.13.0
  • github.com/hahwul/dalfox/security/advisories/GHSA-35wr-x7v6-9fv2
  • nvd.nist.gov/vuln/detail/CVE-2026-45088

Code Behaviors & Features

Detect and mitigate CVE-2026-45088 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.13.0

Fixed versions

  • 2.13.0

Solution

Upgrade to version 2.13.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-306: Missing Authentication for Critical Function
  • CWE-552: Files or Directories Accessible to External Parties
  • CWE-73: External Control of File Name or Path

Source file

go/github.com/hahwul/dalfox/v2/CVE-2026-45088.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:43 +0000.