CVE-2026-45087
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.
Weakness
- CWE-15: External Control of System or Configuration Setting
- CWE-78: Improper Neutralization of Special Elements used in an OS Command
- CWE-306: Missing Authentication for Critical Functionality
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2026-05-28 |
Timeline
- 2026-05-12GitHub advisory published (GHSA-v25v-m36w-jp4h)15 days before publication
- 2026-05-27Published by the CNA17:34 UTC
- 2026-05-28CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-v25v-m36w-jp4h, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/hahwul/dalfox/v2 | before 2.13.0 | 2.13.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| hahwul dalfox |
References
- https://github.com/hahwul/dalfox/releases/tag/v2.13.0
- https://github.com/hahwul/dalfox/security/advisories/GHSA-v25v-m36w-jp4h
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-45087'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-45087'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-45087'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-45087'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).