Vulnerability · Published May 27, 2026 · Assigned by GitHub_M

CVE-2026-45087Dalfox: Unauthenticated Remote Code Execution via `found-action` in Dalfox Server Mode

Critical 10.0

In plain English

A critical-severity OS command injection in dalfox from hahwul. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 8.7% (higher than 95% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)8.7%top 4.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Metasploit

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/hahwul/dalfoxno fix listedGO-2026-5649
Gogithub.com/hahwul/dalfox/v22.13.0GHSA-v25v-m36w-jp4h
Gogithub.com/hahwul/dalfox/v22.13.0GO-2026-5649

Affected products (as reported)

VendorProductVersions
hahwul dalfox < 2.13.0

Weakness: CWE-15, CWE-78, CWE-306 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

References