CVE-2026-45087

CRITICAL

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

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-45087. PoCs published by Emmanuel David, Takahiro Yokoyama, including Metasploit module exploits/linux/http/dalfox_server_rce_cve_2026_45087.

AI-analyzed exploit summary This Metasploit module exploits a deserialization vulnerability in Dalfox server mode (CVE-2026-45087) by sending a crafted JSON payload to the /scan endpoint, which triggers arbitrary command execution via the FoundAction and FoundActionShell fields.

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.

Exploits (1)

metasploit WORKING POC EXCELLENT
by Emmanuel David, Takahiro Yokoyama · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/dalfox_server_rce_cve_2026_45087.rb

This Metasploit module exploits a deserialization vulnerability in Dalfox server mode (CVE-2026-45087) by sending a crafted JSON payload to the /scan endpoint, which triggers arbitrary command execution via the FoundAction and FoundActionShell fields.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Dalfox <= 2.12.0
No auth needed
Prerequisites: Dalfox server running in REST API mode · Network access to port 6664
mistral-large-3 · analyzed Jun 25, 2026 Full analysis →

References (2)

Core 2
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/hahwul/dalfox/releases/tag/v2.13.0

Scores

CVSS v3 10.0
EPSS 0.0147
EPSS Percentile 71.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-15 CWE-306 CWE-78
Status published
Products (2)
hahwul/dalfox 0 - 2.13.0Go
hahwul/dalfox < 2.13.0
Published May 27, 2026
Tracked Since May 27, 2026