CVE-2026-45089
published 2026-05-27CVE-2026-45089: 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…
PriorityP351high8.2CVSS 3.1
AVNACLPRNUINSUCNIHAL
EPSS
0.24%
15.4th percentile
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.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| github.com | hahwul_dalfox_v2 | >= 0 < 2.13.0 | 2.13.0 |
| hahwul | dalfox | < 2.13.0 | 2.13.0 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
hahwul dalfox up to 2.12.x REST API Server Mode file inclusion (GHSA-8hf9-3q64-q2qf)
vuldb·2026-05-27·CVSS 8.2
CVE-2026-45089 [HIGH] hahwul dalfox up to 2.12.x REST API Server Mode file inclusion (GHSA-8hf9-3q64-q2qf)
A vulnerability was found in hahwul dalfox up to 2.12.x. It has been classified as critical. The impacted element is an unknown function of the component REST API Server Mode. Performing a manipulation results in file inclusion.
This vulnerability was named CVE-2026-45089. The attack may be initiated remotely. There is no available exploit.
Upgrading the affected component is recommended.
GHSA
Dalfox Server Mode has an Unauthenticated Arbitrary File Create/Append via `output` Option
ghsa·2026-05-12
CVE-2026-45089 [HIGH] CWE-306 Dalfox Server Mode has an Unauthenticated Arbitrary File Create/Append via `output` Option
Dalfox Server Mode has an Unauthenticated Arbitrary File Create/Append via `output` Option
## Summary
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 f
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2026-05-27
Published