CVE-2024-3566: process · command injection via argument list on Windows
Affects processSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical : upgrade to 1.6.23.0 as a priority.
Data as of 13 Nov 2026, 18:41 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 9.8 |
|---|
- Patch
- Available – fixed in 1.6.23.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade process to 1.6.23.0.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Hackageprocess | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in process library version 1.6.19.0 and later, with an additional fix in 1.6.23.0. Users should upgrade to at least version 1.6.23.0 to fully mitigate the vulnerability. If upgrading is not immediately possible, avoid executing batch files with arguments influenced by untrusted input, or sanitize and reject arguments containing special characters such as & and ".
Description
The process library on Windows is vulnerable to a command injection via cmd.exe's interpretation of arguments when executing batch files (.bat, .cmd). This occurs because the library does not properly escape special characters in arguments passed to cmd.exe, allowing injection if arguments are influenced by untrusted input. The vulnerability affects versions of the process library before 1.6.23.0. A fix was released in version 1.6.19.0 with a follow-up fix in 1.6.23.0 to address additional edge cases.
References
- flatt.tech/research/posts/batbadbut-you-cant-securely-execute-commands-on-windows/ (opens in a new tab)
- kb.cert.org/vuls/id/123335 (opens in a new tab)
- github.com/haskell/process/commit/3c419f9eeedac024c9dccce544e5a6fb587179a5 (opens in a new tab)
- github.com/haskell/process/commit/951b02dd95559b1a26f2456bfb97cf740ea40934 (opens in a new tab)
- github.com/haskell/process/commit/5fc91f5f36ed4479be2b95f04f264bb78ac8089d (opens in a new tab)