CVE-2026-45089
published high CVSS 3.1 · 8.2Dalfox: Unauthenticated Arbitrary File Create/Append via `output` Option in Dalfox Server Mode
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| hahwul | — | dalfox< 2.13.0 | Affected | Not stated | 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 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| hahwul | dalfox | < 2.13.0 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-73 CWE-73: External Control of File Name or Path
- CWE-306 CWE-306: Missing Authentication for Critical Function
- CWE-434 CWE-434: Unrestricted Upload of File with Dangerous Type
References
2Provider assertions
2GitHub_M · cna
Dalfox: Unauthenticated Arbitrary File Create/Append via `output` Option in Dalfox Server Mode
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- eaf921ac8f143ef5e11ee77fe98d45e2db2f62a8f1c39e90ee59c43eba30c968
- Ingested
- 23 Sep 2026, 09:15:36 UTC
- Source record
- Official CVE record