MediumGHSA-r39x-jcww-82v6
Symfony's incorrect argument escaping under MSYS2/Git Bash can lead to destructive file operations on Windows
Affected versions
before 5.4.51, 6.4 to before 6.4.33, 7.3 to before 7.3.11, 7.4 to before 7.4.5, 8.0 to before 8.0.5 - fixed in 5.4.51Details
### 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
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-24739
- https://github.com/symfony/symfony/security/advisories/GHSA-r39x-jcww-82v6
- https://nvd.nist.gov/vuln/detail/CVE-2026-24739
- https://github.com/symfony/symfony/issues/62921
- https://github.com/symfony/symfony/pull/63164
- https://github.com/symfony/symfony/commit/35203939050e5abd3caf2202113b00cab5d379b3
- https://github.com/symfony/symfony/commit/ec154f6f95f8c60f831998ec4d246a857e9d179b
- https://github.com/symfony/symfony
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected