Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hahwul/dalfox/v2
  4. ›
  5. CVE-2026-45087

CVE-2026-45087: Dalfox Server Mode Vulnerable to Unauthenticated Remote Code Execution via `found-action`

May 12, 2026 (updated June 8, 2026)

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.

References

  • github.com/advisories/GHSA-v25v-m36w-jp4h
  • github.com/hahwul/dalfox/releases/tag/v2.13.0
  • github.com/hahwul/dalfox/security/advisories/GHSA-v25v-m36w-jp4h
  • nvd.nist.gov/vuln/detail/CVE-2026-45087

Code Behaviors & Features

Detect and mitigate CVE-2026-45087 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.13.0

Fixed versions

  • 2.13.0

Solution

Upgrade to version 2.13.0 or above.

Impact 10 CRITICAL

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

Learn more about CVSS

Weakness

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

Source file

go/github.com/hahwul/dalfox/v2/CVE-2026-45087.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:25 +0000.