Description
When dalfox version <= 2.12.0 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.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/linux/http/dalfox_server_rce_cve_2026_45087msf undefined(dalfox_server_rce_cve_2026_45087) > show actions ...actions...msf undefined(dalfox_server_rce_cve_2026_45087) > set ACTION < action-name >msf undefined(dalfox_server_rce_cve_2026_45087) > show options ...show and set options...msf undefined(dalfox_server_rce_cve_2026_45087) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub