{"cve":"CVE-2026-45089","nvd":{"published":"2026-05-27T18:16:24.863","modified":"2026-10-26T11:10:00.157","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","score":8.2},"cwes":["CWE-73","CWE-306","CWE-434"],"references":["https://github.com/hahwul/dalfox/releases/tag/v2.13.0","https://github.com/hahwul/dalfox/security/advisories/GHSA-8hf9-3q64-q2qf"],"products":[],"source":"nvd","synced_at":"2026-10-26T11:33:08.859761529+00:00"},"epss":{"cve":"CVE-2026-45089","score":0.00243,"percentile":0.15354,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-8hf9-3q64-q2qf","url":"https://osv.dev/vulnerability/GHSA-8hf9-3q64-q2qf","summary":"Dalfox Server Mode has an Unauthenticated Arbitrary File Create/Append via `output` Option","modified":"2026-06-25T19:56:14.309304161Z","packages":[{"ecosystem":"Go","name":"github.com/hahwul/dalfox/v2","purl":"pkg:golang/github.com/hahwul/dalfox/v2","ranges":["<2.13.0"],"fixed":["2.13.0"]}]},{"id":"GO-2026-5257","url":"https://osv.dev/vulnerability/GO-2026-5257","summary":"Dalfox Server Mode has an Unauthenticated Arbitrary File Create/Append via `output` Option in github.com/hahwul/dalfox","modified":"2026-06-25T19:45:27.212659510Z","packages":[{"ecosystem":"Go","name":"github.com/hahwul/dalfox","purl":"pkg:golang/github.com/hahwul/dalfox","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/hahwul/dalfox/v2","purl":"pkg:golang/github.com/hahwul/dalfox/v2","ranges":["<2.13.0"],"fixed":["2.13.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}