FKIE_CVE-2026-24739
Vulnerability from fkie_nvd - Published: 2026-01-28 21:16 - Updated: 2026-02-02 14:24
Severity ?
Summary
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to versions 5.4.51, 6.4.33, 7.3.11, 7.4.5, and 8.0.5, the Symfony Process component did not correctly treat some characters (notably `=`) as “special” when escaping arguments on Windows. When PHP is executed from an MSYS2-based environment (e.g. Git Bash) and Symfony Process spawns native Windows executables, MSYS2’s argument/path conversion can mis-handle unquoted arguments containing these characters. This can cause the spawned process to receive corrupted/truncated arguments compared to what Symfony intended. If an application (or tooling such as Composer scripts) uses Symfony Process to invoke file-management commands (e.g. `rmdir`, `del`, etc.) with a path argument containing `=`, the MSYS2 conversion layer may alter the argument at runtime. In affected setups this can result in operations being performed on an unintended path, up to and including deletion of the contents of a broader directory or drive. The issue is particularly relevant when untrusted input can influence process arguments (directly or indirectly, e.g. via repository paths, extracted archive paths, temporary directories, or user-controlled configuration). Versions 5.4.51, 6.4.33, 7.3.11, 7.4.5, and 8.0.5 contains a patch for the issue. Some workarounds are available. Avoid running PHP/one's own tooling from MSYS2-based shells on Windows; prefer cmd.exe or PowerShell for workflows that spawn native executables. Avoid passing paths containing `=` (and similar MSYS2-sensitive characters) to Symfony Process when operating under Git Bash/MSYS2. Where applicable, configure MSYS2 to disable or restrict argument conversion (e.g. via `MSYS2_ARG_CONV_EXCL`), understanding this may affect other tooling behavior.
References
Impacted products
| Vendor | Product | Version | |
|---|---|---|---|
| sensiolabs | symfony | * | |
| sensiolabs | symfony | * | |
| sensiolabs | symfony | * | |
| sensiolabs | symfony | * | |
| sensiolabs | symfony | * |
{
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
"matchCriteriaId": "3AB662E6-D816-4609-94FE-AC66C88F4CBE",
"versionEndExcluding": "5.4.51",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
"matchCriteriaId": "3DF56A29-B4F5-4931-870C-3A53C2250637",
"versionEndExcluding": "6.4.33",
"versionStartIncluding": "6.4.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
"matchCriteriaId": "C8C97EDA-436F-4135-97BD-99738291537F",
"versionEndExcluding": "7.3.11",
"versionStartIncluding": "7.3.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
"matchCriteriaId": "387DBEE9-CCE6-4E97-82D6-1CDDB3120BE9",
"versionEndExcluding": "7.4.5",
"versionStartIncluding": "7.4.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
"matchCriteriaId": "894753D7-0758-4279-A5A9-2992F8551228",
"versionEndExcluding": "8.0.5",
"versionStartIncluding": "8.0.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to versions 5.4.51, 6.4.33, 7.3.11, 7.4.5, and 8.0.5, the Symfony Process component did not correctly treat some characters (notably `=`) as \u201cspecial\u201d when escaping arguments on Windows. When PHP is executed from an MSYS2-based environment (e.g. Git Bash) and Symfony Process spawns native Windows executables, MSYS2\u2019s argument/path conversion can mis-handle unquoted arguments containing these characters. This can cause the spawned process to receive corrupted/truncated arguments compared to what Symfony intended. If an application (or tooling such as Composer scripts) uses Symfony Process to invoke file-management commands (e.g. `rmdir`, `del`, etc.) with a path argument containing `=`, the MSYS2 conversion layer may alter the argument at runtime. In affected setups this can result in operations being performed on an unintended path, up to and including deletion of the contents of a broader directory or drive. The issue is particularly relevant when untrusted input can influence process arguments (directly or indirectly, e.g. via repository paths, extracted archive paths, temporary directories, or user-controlled configuration). Versions 5.4.51, 6.4.33, 7.3.11, 7.4.5, and 8.0.5 contains a patch for the issue. Some workarounds are available. Avoid running PHP/one\u0027s own tooling from MSYS2-based shells on Windows; prefer cmd.exe or PowerShell for workflows that spawn native executables. Avoid passing paths containing `=` (and similar MSYS2-sensitive characters) to Symfony Process when operating under Git Bash/MSYS2. Where applicable, configure MSYS2 to disable or restrict argument conversion (e.g. via `MSYS2_ARG_CONV_EXCL`), understanding this may affect other tooling behavior."
},
{
"lang": "es",
"value": "Symfony es un framework PHP para aplicaciones web y de consola y un conjunto de componentes PHP reutilizables. Antes de las versiones 5.4.51, 6.4.33, 7.3.11, 7.4.5 y 8.0.5, el componente Symfony Process no trataba correctamente algunos caracteres (especialmente \u0027=\u0027) como \u0027especiales\u0027 al escapar argumentos en Windows. Cuando PHP se ejecuta desde un entorno basado en MSYS2 (por ejemplo, Git Bash) y Symfony Process genera ejecutables nativos de Windows, la conversi\u00f3n de argumentos/rutas de MSYS2 puede manejar incorrectamente los argumentos sin comillas que contienen estos caracteres. Esto puede hacer que el proceso generado reciba argumentos corruptos/truncados en comparaci\u00f3n con lo que Symfony pretend\u00eda. Si una aplicaci\u00f3n (o herramientas como los scripts de Composer) utiliza Symfony Process para invocar comandos de gesti\u00f3n de archivos (por ejemplo, \u0027rmdir\u0027, \u0027del\u0027, etc.) con un argumento de ruta que contiene \u0027=\u0027, la capa de conversi\u00f3n de MSYS2 puede alterar el argumento en tiempo de ejecuci\u00f3n. En configuraciones afectadas, esto puede resultar en operaciones realizadas en una ruta no deseada, incluyendo la eliminaci\u00f3n del contenido de un directorio o unidad m\u00e1s amplio. El problema es particularmente relevante cuando una entrada no confiable puede influir en los argumentos del proceso (directa o indirectamente, por ejemplo, a trav\u00e9s de rutas de repositorio, rutas de archivo extra\u00eddas, directorios temporales o configuraci\u00f3n controlada por el usuario). Las versiones 5.4.51, 6.4.33, 7.3.11, 7.4.5 y 8.0.5 contienen un parche para el problema. Algunas soluciones alternativas est\u00e1n disponibles. Evite ejecutar PHP/sus propias herramientas desde shells basados en MSYS2 en Windows; prefiera cmd.exe o PowerShell para flujos de trabajo que generen ejecutables nativos. Evite pasar rutas que contengan \u0027=\u0027 (y caracteres similares sensibles a MSYS2) a Symfony Process cuando opere bajo Git Bash/MSYS2. Cuando sea aplicable, configure MSYS2 para deshabilitar o restringir la conversi\u00f3n de argumentos (por ejemplo, a trav\u00e9s de \u0027MSYS2_ARG_CONV_EXCL\u0027), entendiendo que esto puede afectar el comportamiento de otras herramientas."
}
],
"id": "CVE-2026-24739",
"lastModified": "2026-02-02T14:24:27.267",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.0,
"impactScore": 5.2,
"source": "security-advisories@github.com",
"type": "Secondary"
}
]
},
"published": "2026-01-28T21:16:11.750",
"references": [
{
"source": "security-advisories@github.com",
"tags": [
"Patch"
],
"url": "https://github.com/symfony/symfony/commit/35203939050e5abd3caf2202113b00cab5d379b3"
},
{
"source": "security-advisories@github.com",
"tags": [
"Patch"
],
"url": "https://github.com/symfony/symfony/commit/ec154f6f95f8c60f831998ec4d246a857e9d179b"
},
{
"source": "security-advisories@github.com",
"tags": [
"Exploit",
"Issue Tracking",
"Patch"
],
"url": "https://github.com/symfony/symfony/issues/62921"
},
{
"source": "security-advisories@github.com",
"tags": [
"Issue Tracking"
],
"url": "https://github.com/symfony/symfony/pull/63164"
},
{
"source": "security-advisories@github.com",
"tags": [
"Patch",
"Vendor Advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-r39x-jcww-82v6"
}
],
"sourceIdentifier": "security-advisories@github.com",
"vulnStatus": "Analyzed",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-88"
}
],
"source": "security-advisories@github.com",
"type": "Primary"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…