Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-24739

MEDIUM 6.3PoCEPSS 9%

Symfony has incorrect argument escaping under MSYS2/Git Bash on Windows that can lead to destructive file operations

Also known as GHSA-r39x-jcww-82v6

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).

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

Vulnerability facts

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
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
6.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
CWE
CWE-88
Published
Modified

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

Package / productAffectedFixedSource
Packagist symfony/process< 5.4.515.4.51, 6.4.33, 7.3.11, 7.4.5, 8.0.5osv
Packagist symfony/symfony< 5.4.515.4.51, 6.4.33, 7.3.11, 7.4.5, 8.0.5osv
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

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.24% chance of exploitation in the next 30 days (as of 2026-11-26).

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.

Sponsors