Skip to main content
VulnerabilityPublished Updated

CVE-2026-41083: Ocaml · Multiple issues in command quoting on Windows

Affects ocamlSource GCVE Database

0
Compare

Public exploit available · CVSS 8.6 High : upgrade to 5.5.2 or 4.14.5 as a priority.

Data as of 6 Nov 2026, 15:37 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 5.5.2, 4.14.5
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 6 Nov 2026.

What to do

Upgrade ocaml to 5.5.2 or 4.14.5.

Affected software

ProductAffectedFixed in
opamocamlpkg:opam/ocamlOther threatsAffected
  • 5.0.0 – 5.5.1
  • <4.14.5
  • >=5 <5.5.2
15 affected builds
Fixed in
  • 4.14.5
  • 5.5.2

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 OCaml versions 4.14.5 and 5.5.2 and later. Users should upgrade to these fixed versions to mitigate the vulnerability. The fix includes improved argument quoting in Filename.quote_command and rejection of unsafe arguments in Unix.create_process* by raising exceptions. If upgrading is not immediately possible, avoid passing user-supplied arguments containing metacharacters such as "| & , ; < = > ^ %" to .bat or .cmd scripts via these functions. Consider using Unix.system instead if such characters must be passed.

Description

Multiple command quoting issues were identified in OCaml on Windows platforms affecting the Filename.quote_command and Unix.create_process* functions. These issues could allow unsafe argument quoting or injection when invoking .bat or .cmd scripts with certain metacharacters. The vulnerability affects various OCaml versions prior to 4.14.5 and between 5.0.0 and 5.5.1, as well as specific 3.x releases. A fix has been merged that improves argument quoting and rejects unsafe arguments by raising an exception.

Community reviews

Loading reviews…