{"id":"CVE-2024-51736","published":"2024-11-06T20:51:38Z","modified":"2024-11-21T23:23:26Z","title":"Command execution hijack on Windows with Process class in symfony/process","vendor":"symfony","product":"symfony","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":0,"severity":"NONE","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00677,"percentile":0.47404,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":9.48}]},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"symfony","versions":["< 5.4.46",">= 6.0.0, < 6.4.14",">= 7.0.0, < 7.1.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-11-21T23:20:34.134307Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"symfony/process","vulnerableRanges":["<5.4.46",">=6.0.0, <6.4.14",">=7.0.0, <7.1.7"],"patched":["5.4.46","6.4.14","7.1.7"],"from":["GHSA-qq5c-677p-737q"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":["<5.4.46",">=6.0.0, <6.4.14",">=7.0.0, <7.1.7"],"patched":["5.4.46","6.4.14","7.1.7"],"from":["GHSA-qq5c-677p-737q"],"provenance":"source"}],"summary":{"text":"The flaw is in the Process class of the symfony/process component of the Symfony PHP framework: on Windows, when preparing command arguments, the class will invoke a cmd.exe file found in the current working directory instead of the system one, enabling command hijacking. An attacker who can place a file named cmd.exe in the process's working directory can get it executed, and this requires only local access with no privileges or user interaction, with no known workarounds beyond upgrading.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:40Z"},"euvd":{"id":"EUVD-2024-3302","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-symfony-cve-2024-51736","children":[{"from":"CVE-2024-51736","to":"CVE-2026-24739","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/process","fromFixed":"5.4.46","toFixed":"5.4.51","daysApart":448},{"kind":"version-step","provenance":"source","package":"Packagist:symfony/process","fromFixed":"6.4.14","toFixed":"6.4.33","daysApart":448},{"kind":"same-code","provenance":"machine","files":["src/Symfony/Component/Process/Process.php"],"commits":["https://github.com/symfony/symfony/commit/18ecd03eda3917fdf901a48e72518f911c64a1c9","https://github.com/symfony/symfony/commit/35203939050e5abd3caf2202113b00cab5d379b3","https://github.com/symfony/symfony/commit/ec154f6f95f8c60f831998ec4d246a857e9d179b"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-50341","published":"2024-11-06","fixed":"7.1.3","kev":false},{"cve":"CVE-2024-50343","published":"2024-11-06","fixed":"7.1.4","kev":false,"link":{"from":"CVE-2024-50343","to":"CVE-2024-51736","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/symfony","fromFixed":"5.4.43","toFixed":"5.4.46","daysApart":0},{"kind":"version-step","provenance":"source","package":"Packagist:symfony/symfony","fromFixed":"6.4.11","toFixed":"6.4.14","daysApart":0}]}},{"cve":"CVE-2024-50340","published":"2024-11-06","fixed":"7.1.7","kev":false},{"cve":"CVE-2024-51736","published":"2024-11-06","fixed":"7.1.7","kev":false},{"cve":"CVE-2024-50342","published":"2024-11-06","fixed":"7.1.8","kev":false,"link":{"from":"CVE-2024-51736","to":"CVE-2024-50342","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/symfony","fromFixed":"5.4.46","toFixed":"5.4.47","daysApart":0},{"kind":"version-step","provenance":"source","package":"Packagist:symfony/symfony","fromFixed":"6.4.14","toFixed":"6.4.15","daysApart":0}]}},{"cve":"CVE-2025-64500","published":"2025-11-12","fixed":"7.3.7","kev":false},{"cve":"CVE-2026-24739","published":"2026-01-28","fixed":"8.0.5","kev":false}],"package":"Packagist:symfony/symfony"}}