CVE-2026-45087

Critical

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.

SeverityCritical
CVSS10.0
Exploit probability—
ProductGithub.com/hahwul/dalfox/v2
PublishedMay 27, 2026
First seenMay 27, 2026

How to fix

Update
  • github.com/hahwul/dalfox/v22.13.0 or later

Affected products

ProductAffected versionsFixed in
github.com/hahwul/dalfox/v2Gov < 2.13.02.13.0
github.com/hahwul/dalfoxGoNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.