CVE-2026-45087 PUBLISHED

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

Assigner: GitHub_M
Reserved: 08.05.2026 Published: 27.05.2026 Updated: 28.05.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 10

Product Status

Vendor hahwul
Product dalfox
Versions
  • Version < 2.13.0 is affected

References

Problem Types

  • CWE-15: External Control of System or Configuration Setting CWE
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE
  • CWE-306: Missing Authentication for Critical Function CWE