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.
// resolution
The Process class now uses the absolute path to cmd.exe.
The patch for this issue is available here for branch 5.4.
// credits
We would like to thank Jordi Boggiano for reporting the issue and Nicolas Grekas for providing the fix.
// cvss v3.1 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Checked 2026-11-07 at 22:32 UTC. The most recent advisory here was published 2026-01-28. Updated continuously from NVD, GHSA, OSV and CNA feeds.