CVE-2024-51736
Command execution hijack on Windows with Process class in symfony/process
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.
INFO
Published Date :
Nov. 6, 2024, 9:15 p.m.
Last Modified :
Sept. 4, 2025, 4:08 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | NONE | [email protected] | ||||
| CVSS 3.1 | CRITICAL | [email protected] | 
Solution
- Upgrade Symphony framework to latest version.
Public PoC/Exploit Available at Github
                                            CVE-2024-51736 has a 1 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2024-51736.
                                        
| URL | Resource | 
|---|---|
| https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q | Vendor Advisory | 
| https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q | Vendor Advisory | 
| https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q | Vendor Advisory | 
| https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q | Vendor Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2024-51736 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2024-51736
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
PHP Blade JavaScript
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2024-51736 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2024-51736 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            Initial Analysis by [email protected]Sep. 04, 2025 Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration AND OR *cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* versions up to (excluding) 5.4.46 *cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* versions from (including) 6.0.0 up to (excluding) 6.4.14 *cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* versions from (including) 7.0.0 up to (excluding) 7.1.7 OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q Types: Vendor Advisory 
- 
                            CVE Received by [email protected]Nov. 06, 2024 Action Type Old Value New Value Added 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. Added Reference GitHub, Inc. https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q [No types assigned] Added Reference GitHub, Inc. https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q [No types assigned] Added CWE GitHub, Inc. CWE-77 Added CVSS V3.1 GitHub, Inc. AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N 
 
                         
                         
                         
                                             
                                            