Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Dalfox Found-Action Deserialization RCE

Disclosed
May 7, 2026
Created
Jun 25, 2026

Description

When dalfox version 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.

Authors

Emmanuel David
Takahiro Yokoyama

Platform

Linux,Unix

Architectures

cmd

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_45087
msf exploit(dalfox_server_rce_cve_2026_45087) > show targets
...targets...
msf exploit(dalfox_server_rce_cve_2026_45087) > set TARGET < target-id >
msf exploit(dalfox_server_rce_cve_2026_45087) > show options
...show and set options...
msf exploit(dalfox_server_rce_cve_2026_45087) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.