Vulnerability · Published May 27, 2026 · Assigned by GitHub_M

CVE-2026-45089Dalfox: Unauthenticated Arbitrary File Create/Append via `output` Option in Dalfox Server Mode

High 8.2

In plain English

A high-severity missing authentication in dalfox from hahwul. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.2High
Exploit odds (30 days)0.2%top 84.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/hahwul/dalfoxno fix listedGO-2026-5257
Gogithub.com/hahwul/dalfox/v22.13.0GHSA-8hf9-3q64-q2qf
Gogithub.com/hahwul/dalfox/v22.13.0GO-2026-5257

Affected products (as reported)

VendorProductVersions
hahwul dalfox < 2.13.0

Weakness: CWE-73, CWE-306, CWE-434 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L

References