CVE-2026-45089
Full vulnerability record from the local CVENow database.
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.
View original CVE JSON
{
"id": "CVE-2026-45089",
"sourceIdentifier": "[email protected]",
"published": "2026-05-27T18:16:24.863",
"lastModified": "2026-10-26T11:10:00.157",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Dalfox es un potente escáner XSS de código abierto y una utilidad centrada en la automatización. Antes de la versión 2.13.0, cuando dalfox se ejecuta en modo de servidor API REST, los campos output, output-all y debug en model.Options están etiquetados con JSON y se deserializan directamente del cuerpo de la solicitud del atacante, luego se propagan sin cambios a través de dalfox.Initialize en la ruta de registro del motor de escaneo. El registrador abre la ruta proporcionada por el atacante con os.O_APPEND|os.O_CREATE|os.O_WRONLY y escribe líneas de registro de escaneo en ella. Críticamente, este bloque de escritura de archivos reside fuera de la protección IsLibrary en DalLog, por lo que se ejecuta incluso en modo servidor/biblioteca donde la salida de archivos nunca estuvo destinada a operar. Debido a que no se requiere una clave API en la configuración predeterminada, un llamador de red no autenticado puede crear o añadir a cualquier archivo escribible por el proceso dalfox en el sistema de archivos del host. Esta vulnerabilidad se corrige en la versión 2.13.0."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "hahwul",
"product": "dalfox",
"versions": [
{
"version": "< 2.13.0",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L",
"baseScore": 8.2,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"availabilityImpact": "LOW"
},
"exploitabilityScore": 3.9,
"impactScore": 4.2
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-05-27T17:59:11.175454Z",
"id": "CVE-2026-45089",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-73"
},
{
"lang": "en",
"value": "CWE-306"
},
{
"lang": "en",
"value": "CWE-434"
}
]
}
],
"references": [
{
"url": "https://github.com/hahwul/dalfox/releases/tag/v2.13.0",
"source": "[email protected]"
},
{
"url": "https://github.com/hahwul/dalfox/security/advisories/GHSA-8hf9-3q64-q2qf",
"source": "[email protected]"
}
]
}