CVE-2026-24739
Symfony has incorrect argument escaping under MSYS2/Git Bash on Windows that can lead to destructive file operations
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
6.3
Symfony has incorrect argument escaping under MSYS2/Git Bash on Windows that can lead to destructive file operations
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.
- Record
CVE-2026-24739- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H - Weakness
- CWE-88
- Updated
- 2026-11-02
EUVDEUVD-2026-4873
6.3
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.
- Record
EUVD-2026-4873- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-r39x-jcww-82v6
6.3
Symfony's incorrect argument escaping under MSYS2/Git Bash can lead to destructive file operations on Windows
Summary
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 mishandle unquoted arguments containing these characters.
This can cause the spawned process to receive corrupted/truncated arguments compared to what Symfony intended.
Impact
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).
Resolution
Upgrade to a Symfony release that includes the fix from symfony/symfony#63164 (which updates Windows argument escaping to ensure arguments containing = and other MSYS2-sensitive characters are properly quoted/escaped). The patch for branch 5.4 is available at https://github.com/symfony/symfony/commit/ec154f6f95f8c60f831998ec4d246a857e9d179b
Workarounds / Mitigations
Avoid running PHP/your 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.
- Record
GHSA-r39x-jcww-82v6- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H - Weakness
- CWE-88
- Updated
- 2026-11-02
NVD
6.3
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.
- Record
CVE-2026-24739- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H - Weakness
- CWE-88
- Updated
- 2026-11-02
OSV
6.3
Symfony has incorrect argument escaping under MSYS2/Git Bash on Windows that can lead to destructive file operations
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.
- Record
CVE-2026-24739- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H - Weakness
- CWE-88
- Updated
- 2026-11-02
OSVGHSA-r39x-jcww-82v6
6.3
Symfony's incorrect argument escaping under MSYS2/Git Bash can lead to destructive file operations on Windows
Summary
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 mishandle unquoted arguments containing these characters.
This can cause the spawned process to receive corrupted/truncated arguments compared to what Symfony intended.
Impact
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).
Resolution
Upgrade to a Symfony release that includes the fix from symfony/symfony#63164 (which updates Windows argument escaping to ensure arguments containing = and other MSYS2-sensitive characters are properly quoted/escaped). The patch for branch 5.4 is available at https://github.com/symfony/symfony/commit/ec154f6f95f8c60f831998ec4d246a857e9d179b
Workarounds / Mitigations
Avoid running PHP/your 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.
- Record
GHSA-r39x-jcww-82v6- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H - Weakness
- CWE-88
- Updated
- 2026-11-02
Show 4 moreShow less
OSVCLSA-2026-1771808253 No score
TuxCare security update for symfony/process (1 CVE)
TuxCare rebuilt symfony/process to address 1 CVE. Fixed in 6.4.13-p2+tuxcare.
- Record
CLSA-2026-1771808253- Updated
- 2026-11-02
OSVCLSA-2026-1771894652 No score
TuxCare security update for symfony/process (1 CVE)
TuxCare rebuilt symfony/process to address 1 CVE. Fixed in 5.4.45-p2+tuxcare.
- Record
CLSA-2026-1771894652- Updated
- 2026-11-02
OSVCLSA-2026-1771894663 No score
TuxCare security update for symfony/process (2 CVEs)
TuxCare rebuilt symfony/process to address 2 CVEs. Fixed in 4.4.44-p1+tuxcare.
- Record
CLSA-2026-1771894663- Updated
- 2026-11-02
OSVCLSA-2026-1772498780 No score
TuxCare security update for symfony/process (2 CVEs)
TuxCare rebuilt symfony/process to address 2 CVEs. Fixed in 3.4.47-p1+tuxcare.
- Record
CLSA-2026-1772498780- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
symfony/processPackagist |
before 5.4.51 | 5.4.51 |
symfony/processPackagist |
6.4 up to 6.4.33 | 6.4.33 |
symfony/processPackagist |
7.3 up to 7.3.11 | 7.3.11 |
symfony/processPackagist |
7.4 up to 7.4.5 | 7.4.5 |
symfony/processPackagist |
8.0 up to 8.0.5 | 8.0.5 |
symfony/symfonyPackagist |
before 5.4.51 | 5.4.51 |
symfony/symfonyPackagist |
6.4 up to 6.4.33 | 6.4.33 |
symfony/symfonyPackagist |
7.3 up to 7.3.11 | 7.3.11 |
symfony/symfonyPackagist |
7.4 up to 7.4.5 | 7.4.5 |
symfony/symfonyPackagist |
8.0 up to 8.0.5 | 8.0.5 |
Show 14 moreShow less
| Package | Affected | Fixed |
|---|---|---|
symfony/processTuxCare:Packagist |
v6.4.13 up to 6.4.13-p2+tuxcare, plus listed versions 6.4.13-p1+tuxcare |
6.4.13-p2+tuxcare |
symfony/processTuxCare:Packagist |
v5.4.45 up to 5.4.45-p2+tuxcare, plus listed versions 5.4.45-p1+tuxcare |
5.4.45-p2+tuxcare |
symfony/processTuxCare:Packagist From an advisory covering 2 CVEs |
v4.4.44 up to 4.4.44-p1+tuxcare | 4.4.44-p1+tuxcare |
symfony/processTuxCare:Packagist From an advisory covering 2 CVEs |
v3.4.47 up to 3.4.47-p1+tuxcare | 3.4.47-p1+tuxcare |
symfony/processPackagist |
before 5.4.51, plus listed versions 2.0.42.0.52.0.62.0.7v2.0.10 Show 45 moreShow lessv2.0.12v2.0.13v2.0.14v2.0.15v2.0.16v2.0.17v2.0.18v2.0.19v2.0.20v2.0.21v2.0.22v2.0.23v2.0.24v2.0.25v2.0.9v2.1.0v2.1.1v2.1.10v2.1.11v2.1.12v2.1.13v2.1.2v2.1.3v2.1.4v2.1.5v2.1.6v2.1.7v2.1.8v2.1.9v2.2.0v2.2.1v2.2.10v2.2.11v2.2.2v2.2.3v2.2.4v2.2.5v2.2.6v2.2.7v2.2.8v2.2.9v2.3.0v2.3.1v2.3.10v2.3.11 |
5.4.51 |
symfony/processPackagist |
6.4 up to 6.4.33, plus listed versions v6.4.0v6.4.0-BETA1v6.4.0-BETA2v6.4.0-BETA3v6.4.0-RC1 Show 17 moreShow lessv6.4.0-RC2v6.4.12v6.4.13v6.4.14v6.4.15v6.4.19v6.4.2v6.4.20v6.4.24v6.4.25v6.4.26v6.4.3v6.4.31v6.4.32v6.4.4v6.4.7v6.4.8 |
6.4.33 |
symfony/processPackagist |
7.3 up to 7.3.11, plus listed versions v7.3.0v7.3.0-BETA1v7.3.0-RC1v7.3.10v7.3.3v7.3.4v7.3.9 |
7.3.11 |
symfony/processPackagist |
7.4 up to 7.4.5, plus listed versions v7.4.0v7.4.0-BETA1v7.4.0-RC1v7.4.3v7.4.4 |
7.4.5 |
symfony/processPackagist |
8.0 up to 8.0.5, plus listed versions v8.0.0v8.0.0-BETA1v8.0.0-RC1v8.0.3v8.0.4 |
8.0.5 |
symfony/symfonyPackagist |
before 5.4.51, plus listed versions 2.0.42.0.52.0.62.0.7v2.0.10 Show 45 moreShow lessv2.0.11v2.0.12v2.0.13v2.0.14v2.0.15v2.0.16v2.0.17v2.0.18v2.0.19v2.0.20v2.0.21v2.0.22v2.0.23v2.0.24v2.0.25v2.0.9v2.1.0v2.1.0-BETA1v2.1.0-BETA2v2.1.0-BETA3v2.1.0-BETA4v2.1.0-RC1v2.1.0-RC2v2.1.1v2.1.10v2.1.11v2.1.12v2.1.13v2.1.2v2.1.3v2.1.4v2.1.5v2.1.6v2.1.7v2.1.8v2.1.9v2.2.0v2.2.0-BETA1v2.2.0-BETA2v2.2.0-RC1v2.2.0-RC2v2.2.0-RC3v2.2.1v2.2.10v2.2.11 |
5.4.51 |
symfony/symfonyPackagist |
6.4 up to 6.4.33, plus listed versions v6.4.0v6.4.0-BETA1v6.4.0-BETA2v6.4.0-BETA3v6.4.0-RC1 Show 33 moreShow lessv6.4.0-RC2v6.4.1v6.4.10v6.4.11v6.4.12v6.4.13v6.4.14v6.4.15v6.4.16v6.4.17v6.4.18v6.4.19v6.4.2v6.4.20v6.4.21v6.4.22v6.4.23v6.4.24v6.4.25v6.4.26v6.4.27v6.4.28v6.4.29v6.4.3v6.4.30v6.4.31v6.4.32v6.4.4v6.4.5v6.4.6v6.4.7v6.4.8v6.4.9 |
6.4.33 |
symfony/symfonyPackagist |
7.3 up to 7.3.11, plus listed versions v7.3.0v7.3.0-BETA1v7.3.0-BETA2v7.3.0-RC1v7.3.1 Show 9 moreShow lessv7.3.10v7.3.2v7.3.3v7.3.4v7.3.5v7.3.6v7.3.7v7.3.8v7.3.9 |
7.3.11 |
symfony/symfonyPackagist |
7.4 up to 7.4.5, plus listed versions v7.4.0v7.4.0-BETA1v7.4.0-BETA2v7.4.0-RC1v7.4.0-RC2 Show 5 moreShow lessv7.4.0-RC3v7.4.1v7.4.2v7.4.3v7.4.4 |
7.4.5 |
symfony/symfonyPackagist |
8.0 up to 8.0.5, plus listed versions v8.0.0v8.0.0-BETA1v8.0.0-BETA2v8.0.0-RC1v8.0.0-RC2 Show 5 moreShow lessv8.0.0-RC3v8.0.1v8.0.2v8.0.3v8.0.4 |
8.0.5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-24739 is a medium vulnerability (CVSS 6.3) in Sensiolabs Symfony, published January 28, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.23%, the 14th percentile. Fixed in symfony/process 5.4.51.
References
github.com/symfony/symfony/security/advisories/GHSA-r39x-jcww-82v6
github.com/symfony/symfony/issues/62921
github.com/symfony/symfony/pull/63164
github.com/symfony/symfony/commit/35203939050e5abd3caf2202113b00cab5d379b3
github.com/symfony/symfony/commit/ec154f6f95f8c60f831998ec4d246a857e9d179b
nvd.nist.gov/vuln/detail/CVE-2026-24739
github.com/advisories/GHSA-r39x-jcww-82v6
github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24739.json
github.com/symfony/symfony
Left out here: 1,074 versions. The JSON record has them.