{"id":"CVE-2026-45087","published":"2026-05-27T17:34:29Z","modified":"2026-05-28T13:58:37Z","title":"Dalfox: Unauthenticated Remote Code Execution via `found-action` in Dalfox Server Mode","vendor":"hahwul","product":"dalfox","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.08731,"percentile":0.95271,"provenance":"source"},"cwes":[{"id":"CWE-15","name":"External Control of System or Configuration Setting"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://github.com/hahwul/dalfox/security/advisories/GHSA-v25v-m36w-jp4h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hahwul/dalfox/releases/tag/v2.13.0","tags":["x_refsource_MISC"]}],"priority":{"score":31.1,"factors":[{"name":"EPSS percentile","points":19.05},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":7.0}]},"exploitSources":{"metasploit":[{"name":"Dalfox Found-Action Deserialization RCE","module":"exploit/linux/http/dalfox_server_rce_cve_2026_45087","type":"exploit","disclosureDate":"2026-05-07","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/dalfox_server_rce_cve_2026_45087.rb"}],"first":{"date":"2026-05-07","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/dalfox_server_rce_cve_2026_45087.rb"},"provenance":"source"},"vendorSlug":"hahwul","affectedVersions":[{"vendor":"hahwul","product":"dalfox","versions":["< 2.13.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-28T13:58:33.508608Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hahwul/dalfox/v2","vulnerableRanges":["<2.13.0"],"patched":["2.13.0"],"from":["GHSA-v25v-m36w-jp4h","GO-2026-5649"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/hahwul/dalfox","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5649"],"provenance":"source"}],"summary":{"text":"Dalfox's REST API server mode (the dalfox server command) has a flaw in versions before 2.13.0 where the POST /scan endpoint accepts attacker-supplied found-action and found-action-shell options and passes them into scan execution without sanitisation. An attacker with network access to the server's port (6664 by default, bound to all interfaces) can run arbitrary operating system commands on the host without authentication, provided the server was started without an API key and a scan finding is triggered.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:17:49Z"},"euvd":{"id":"EUVD-2026-32615","exploited":false,"provenance":"source"}}