Read the docs
TI-2026-32936 Aliases CVE-2026-45089GHSA-8hf9-3q64-q2qf

Dalfox: Unauthenticated Arbitrary File Create/Append via `output` Option in Dalfox Server Mode

Priority HIGH 75CWE-306Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass, Code execution
Confidentiality · integrity · availability
None · High · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-306 and CWE-434.

Summary

Dalfox is a powerful open-source XSS scanner and utility focused on automation. Prior to 2.13.0, when dalfox is run in REST API server mode, the output, output-all, and debug fields in model.Options are JSON-tagged and deserialized directly from the attacker's request body, then propagated unchanged through dalfox.Initialize into the scan engine's logging path. The logger opens the attacker-supplied path with os.O_APPEND|os.O_CREATE|os.O_WRONLY and writes scan log lines to it. Critically, this file write block lives outside the IsLibrary guard in DalLog, so it executes even in server/library mode where file output was never intended to operate. Because no API key is required in the default configuration, an unauthenticated network caller can create or append to any file writable by the dalfox process on the host filesystem. This vulnerability is fixed in 2.13.0.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00243 15th percentileScored 2026-11-07
Fix Fixed dalfox (hahwul): 2.13.0github.com/hahwul/dalfox/v2 (Go): 2.13.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
hahwuldalfoxbefore 2.13.02.13.0Patch availableCNA
—github.com/hahwul/dalfox/v2 (Go)before 2.13.02.13.0Patch availableGHSA-8hf9-3q64-q2qf
  • dalfox Vendorhahwul Affected before 2.13.0 Fixed in 2.13.0 Patch available CNA
  • github.com/hahwul/dalfox/v2 (Go) Vendor— Affected before 2.13.0 Fixed in 2.13.0 Patch available GHSA-8hf9-3q64-q2qf

Remediation

  • Fix · CNA dalfox (hahwul) Fixed in 2.13.0
  • Fix · GHSA-8hf9-3q64-q2qf github.com/hahwul/dalfox/v2 (Go) Fixed in 2.13.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-45089
  2. 2026-10-03 Alias added: GHSA-8hf9-3q64-q2qf

References

  • TI-2026-32934 Dalfox: Unauthenticated Remote Code Execution via `found-action` in Dalfox Server Mode CVSS 3.1CRITICAL 10.0
  • TI-2026-32937 Dalfox: Unauthenticated Remote DoS via Closed-Channel Write in `ParameterAnalysis` (server mode) CVSS 3.1HIGH 7.5
  • TI-2026-32935 Missing authentication in hahwul dalfox CVSS 3.1HIGH 7.5

Sources