CVE-2024-51736Sensiolabs Symfony
Critical 9.8 No auth needed
Follow: this CVE · Sensiolabs · Sensiolabs Symfony We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 47
- Auth required
- No
- Published
- Nov 6, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-77
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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
- Apply the vendor's security update for Symfony.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | symfony/process |
< 5.4.46 |
5.4.46 |
composer require "symfony/process:^5.4.46" |
| Packagist | symfony/process |
≥ 6.0.0 < 6.4.14 |
6.4.14 |
composer require "symfony/process:^6.4.14" |
| Packagist | symfony/process |
≥ 7.0.0 < 7.1.7 |
7.1.7 |
composer require "symfony/process:^7.1.7" |
| Packagist | symfony/symfony |
< 5.4.46 |
5.4.46 |
composer require "symfony/symfony:^5.4.46" |
| Packagist | symfony/symfony |
≥ 6.0.0 < 6.4.14 |
6.4.14 |
composer require "symfony/symfony:^6.4.14" |
| Packagist | symfony/symfony |
≥ 7.0.0 < 7.1.7 |
7.1.7 |
composer require "symfony/symfony:^7.1.7" |
Per OSV / GitHub Advisories (GHSA-qq5c-677p-737q). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sensiolabs | symfony | < 5.4.46 |
| sensiolabs | symfony | ≥ 6.0.0 < 6.4.14 |
| sensiolabs | symfony | ≥ 7.0.0 < 7.1.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory