CVE-2026-45089: CWE-73: External Control of File Name or Path in hahwul dalfox
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.
AI Analysis
Technical Summary
Dalfox is an open-source XSS scanner that, before version 2.13.0, improperly handled the output, output-all, and debug fields in its REST API server mode. These fields are JSON-tagged and deserialized directly from the attacker's request body, then used as file paths for logging scan results. The logger opens the attacker-supplied path with append and write flags, enabling file creation or modification outside intended usage. This file write operation occurs even in server/library mode where file output was not intended, and no API key is required by default, allowing unauthenticated attackers to write to arbitrary files writable by the dalfox process. The vulnerability is addressed in dalfox 2.13.0.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to write or append arbitrary data to files on the host filesystem with the permissions of the dalfox process. This can lead to unauthorized file modification, potential data corruption, or other impacts related to arbitrary file writes. Confidentiality is not impacted, but integrity is highly impacted. Availability impact is low.
Mitigation Recommendations
This vulnerability is fixed in dalfox version 2.13.0. Users should upgrade to version 2.13.0 or later to remediate this issue. Since no official patch link or vendor advisory is provided, verify the upgrade from the official hahwul dalfox repository or release notes. Until upgraded, restrict network access to the dalfox REST API server to trusted users only.
CVE-2026-45089: CWE-73: External Control of File Name or Path in hahwul dalfox
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 v3.1
Score 8.2high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Dalfox is an open-source XSS scanner that, before version 2.13.0, improperly handled the output, output-all, and debug fields in its REST API server mode. These fields are JSON-tagged and deserialized directly from the attacker's request body, then used as file paths for logging scan results. The logger opens the attacker-supplied path with append and write flags, enabling file creation or modification outside intended usage. This file write operation occurs even in server/library mode where file output was not intended, and no API key is required by default, allowing unauthenticated attackers to write to arbitrary files writable by the dalfox process. The vulnerability is addressed in dalfox 2.13.0.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to write or append arbitrary data to files on the host filesystem with the permissions of the dalfox process. This can lead to unauthorized file modification, potential data corruption, or other impacts related to arbitrary file writes. Confidentiality is not impacted, but integrity is highly impacted. Availability impact is low.
Mitigation Recommendations
This vulnerability is fixed in dalfox version 2.13.0. Users should upgrade to version 2.13.0 or later to remediate this issue. Since no official patch link or vendor advisory is provided, verify the upgrade from the official hahwul dalfox repository or release notes. Until upgraded, restrict network access to the dalfox REST API server to trusted users only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-08T19:27:26.697Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a172e7fe29bf47b50d78ab0
Added to database: 5/27/2026, 5:48:47 PM
Last enriched: 5/27/2026, 6:03:44 PM
Last updated: 5/29/2026, 11:24:22 AM
Views: 16
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.