CVE-2026-45087 Dalfox: Unauthenticated Remote Code Execution via `found-action` in Dalfox Server Mode
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
Description
Dalfox is a powerful open-source XSS scanner and utility focused on automation. Prior to 2.13.0, when dalfox is started in REST API server mode (dalfox server), the server binds to 0.0.0.0:6664 by default and requires no API key unless the operator explicitly passes --api-key. Because model.Options — including FoundAction and FoundActionShell — is deserialized directly from attacker-supplied JSON in POST /scan, and because dalfox.Initialize explicitly propagates those two fields into the final scan options without stripping them, any unauthenticated caller who can reach the server port can supply an arbitrary shell command that the dalfox process will execute on the host whenever a scan finding is triggered. This vulnerability is fixed in 2.13.0.
Upgrade path
2 packages: 0 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hahwul dalfox(Go) | < 2.13.0; <= 2.12.0; All versions | 2.13.0 | Partially fixed |
| hahwul dalfox | = < 2.13.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hahwul dalfox | = < 2.13.0 | No fix listed |
| hahwul dalfox(Go) | < 2.13.0 | 2.13.0 |
| hahwul dalfox(Go) | All versions | No fix listed |
| hahwul dalfox(Go) | <= 2.12.0 | No fix listed |
References
- https://github.com/hahwul/dalfox/security/advisories/GHSA-v25v-m36w-jp4h exploit vendor-advisory
- https://github.com/hahwul/dalfox/releases/tag/v2.13.0
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com