CVE-2026-45089hahwul dalfox
High 8.2 No auth needed
Follow: this CVE · hahwul · hahwul dalfox We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- May 27, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
What happens
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 output, output-all, and debug fields in model.Options are JSON-tagged and deserialized directly from the attacker's request body, then propagated unchanged through dalfox.Initialize into the scan engine's logging path. The logger opens the attacker-supplied path with os.O_APPEND|os.O_CREATE|os.O_WRONLY and writes scan log lines to it. Critically, this file write block lives outside the IsLibrary guard in DalLog, so it executes even in server/library mode where file output was never intended to operate. Because no API key is required in the default configuration, an unauthenticated network caller can create or append to any file writable by the dalfox process on the host filesystem. This vulnerability is fixed in 2.13.0.
What to do
- Apply the vendor's security update for dalfox.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/hahwul/dalfox |
all |
no fixed version | — |
| Go | github.com/hahwul/dalfox/v2 |
< 2.13.0 |
2.13.0 |
go get github.com/hahwul/dalfox/v2@v2.13.0 |
| Go | github.com/hahwul/dalfox/v2 |
< 2.13.0 |
2.13.0 |
go get github.com/hahwul/dalfox/v2@v2.13.0 |
Per OSV / GitHub Advisories (GO-2026-5257, GHSA-8hf9-3q64-q2qf). Check the version in your lockfile before upgrading.
Affected products
- hahwul · dalfox
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.