CVE-2026-45087
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedDalfox 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceIn Dalfox versions before 2.13.0, the REST API server mode (dalfox server) binds to 0.0.0.0:6664 without requiring authentication by default. The model.Options struct including FoundAction and FoundActionShell fields is deserialized directly from attacker-supplied JSON in POST /scan requests and passed through to dalfox.Initialize without sanitization. This allows any unauthenticated attacker who can reach the server port to inject arbitrary shell commands that execute on the host whenever a scan finding is triggered.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if dalfox server mode is runningCheck for running processes or containers executing 'dalfox server' command, or look for processes listening on port 6664 using commands like 'netstat -tlnp' or 'ss -tlnp'Affected if The dalfox server process is active and listening on a network port
-
Determine installed dalfox versionRun 'dalfox version' or 'dalfox --version' and compare the output to 2.13.0Affected if The version number is lower than 2.13.0 (for example, 2.12.0, 2.11.0, etc.)
-
Verify if API key authentication is configuredReview the command line arguments or environment variables used when starting dalfox server; check for the presence of --api-key flag with a valueAffected if The --api-key flag is not set or not used when starting the server, meaning authentication is disabled
-
Check network binding configurationExamine the listening address: if dalfox server binds to 0.0.0.0 or an external interface IP rather than 127.0.0.1, the service is network-accessibleAffected if The server binds to 0.0.0.0 or a non-loopback address, making it reachable from other hosts
A user is affected if they are running dalfox server with a version before 2.13.0 that is network-accessible without API key authentication configured.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to Dalfox 2.13.0 or later. If unable to upgrade immediately, ensure the server is not exposed to untrusted networks and implement API key authentication via --api-key flag as a compensating control.
2.13.0
- 1. Stop any running dalfox server instances
- 2. Upgrade dalfox to version 2.13.0 or later using your package manager or by downloading the release from the official GitHub repository
- 3. Verify the installed version with: dalfox version
- 4. If using the REST API server mode, consider adding an API key using the --api-key flag for additional security
- 5. Restart the dalfox server with the updated version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,832.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-45087 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-45087 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data