# CVE-2026-24739: Symfony has incorrect argument escaping under MSYS2/Git Bash on Windows that can lead to destructive file operations

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 15, 2026-12-01)
- **CWE:** CWE-88
- **Aliases:** GHSA-r39x-jcww-82v6
- **Published:** 2026-01-28T20:25:21.500Z
- **Modified:** 2026-09-10T03:50:59.252Z

## Who should check

- Projects that depend on Packagist package symfony/process (\< 5.4.51)
- Projects that depend on Packagist package symfony/symfony (\< 5.4.51)
- Anyone running symfony \< 5.4.51; \>= 6.4.0, \< 6.4.33; \>= 7.3.0, \< 7.3.11; \>= 7.4.0, \< 7.4.5; \>= 8.0.0 , \< 8.0.5

## Description

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.

## Affected and fixed versions

- Packagist `symfony/process`: affected \< 5.4.51; fixed 5.4.51, 6.4.33, 7.3.11, 7.4.5, 8.0.5 (osv)
- Packagist `symfony/symfony`: affected \< 5.4.51; fixed 5.4.51, 6.4.33, 7.3.11, 7.4.5, 8.0.5 (osv)
- symfony: \< 5.4.51; \>= 6.4.0, \< 6.4.33; \>= 7.3.0, \< 7.3.11; \>= 7.4.0, \< 7.4.5; \>= 8.0.0 , \< 8.0.5 (cvelist)

## Mitigation

- Upgrade symfony/process to one of 5.4.51, 6.4.33, 7.3.11, 7.4.5, 8.0.5 (or later in the same release line).
- Upgrade symfony/symfony to one of 5.4.51, 6.4.33, 7.3.11, 7.4.5, 8.0.5 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-24739. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-24739.md
Affected: symfony/process < 5.4.51; symfony/symfony < 5.4.51
Fixed in: 5.4.51, 6.4.33, 7.3.11, 7.4.5, 8.0.5

Steps:
1. Search this machine and project for symfony/process (Packagist), symfony/symfony (Packagist), symfony: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-24739 being exploited?

There is no confirmed exploitation: CVE-2026-24739 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-12-01).

### How serious is CVE-2026-24739?

Medium: CVSS 6.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-24739?

symfony/process \< 5.4.51; symfony/symfony \< 5.4.51.

### Is there a fix for CVE-2026-24739?

Yes. Fixed in 5.4.51, 6.4.33, 7.3.11, 7.4.5, 8.0.5. Upgrade symfony/process to one of 5.4.51, 6.4.33, 7.3.11, 7.4.5, 8.0.5 (or later in the same release line). Upgrade symfony/symfony to one of 5.4.51, 6.4.33, 7.3.11, 7.4.5, 8.0.5 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-24739?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/symfony/symfony/security/advisories/GHSA-r39x-jcww-82v6>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-24739>
- patch: <https://github.com/symfony/symfony/pull/63164>
- patch: <https://github.com/symfony/symfony/commit/35203939050e5abd3caf2202113b00cab5d379b3>
- patch: <https://github.com/symfony/symfony/commit/ec154f6f95f8c60f831998ec4d246a857e9d179b>
- exploit: <https://github.com/symfony/symfony/issues/62921>
- other: <https://github.com/symfony/symfony>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-24739>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-r39x-jcww-82v6> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-24739> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-24739>
