CVE-2026-45089
HIGH 8.2CVSS 3.1Dalfox Server Mode has an Unauthenticated Arbitrary File Create/Append via `output` Option
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.
- Published
- 27 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-306CWE-434CWE-73
- Also known as
- GHSA-8hf9-3q64-q2qfGO-2026-5257
- Sources
- NVDJSONOSV GHSA-8hf9-3q64-q2qfJSONOSV GO-2026-5257JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/hahwul/dalfox/v2 | < 2.13.0 | 2.13.0 |
| OSV | Go | github.com/hahwul/dalfox | all versions |
References
- https://github.com/hahwul/dalfox/releases/tag/v2.13.0 · WEB
- https://github.com/hahwul/dalfox/security/advisories/GHSA-8hf9-3q64-q2qf · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-45089 · ADVISORY
- https://github.com/hahwul/dalfox · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 May 2026)