Skip to main content
CVE-2026-41083VulnerabilityPublished Updated

CVE-2026-41083: Ocaml · Windows command execution via filename quotes

Affects ocamlSource GCVE Database

0

Not known to be exploited · CVSS 6.1 Medium · fixed in d5c65dc0034fbd75f10c6b54028e8b2740a7b189 : update ocaml when convenient.

Data as of 10 Sep 2026, 13:26 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in d5c65dc0034fbd75f10c6b54028e8b2740a7b189, ce6d0f7b67145debec57e296dcc49d8619259198, 39d3f110eab62ab9f3013bb5f084af2dc3e3bb08 +2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  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), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
opamocamlpkg:opam/ocamlOther threatsAffected
  • <4.14.4
  • >=5 <5.5.0
  • <ce6d0f7b67145debec57e296dcc49d8619259198
  • <39d3f110eab62ab9f3013bb5f084af2dc3e3bb08
  • <d5c65dc0034fbd75f10c6b54028e8b2740a7b189
  • =3.07
  • =3.07+1
  • =3.07+2
  • =3.08.0
  • =3.08.1
  • =3.08.2
  • =3.08.3
  • =3.08.4
  • =3.09.0
  • =3.09.1
  • =3.09.2
  • =3.09.3
  • =3.10.0
  • =3.10.1
  • =3.10.2
  • =3.11.0
  • =3.11.1
  • =3.11.2
  • =3.12.0
  • =3.12.1
  • =4.00.0
  • =4.00.1
  • =4.01.0
  • =4.02.0
  • =4.02.1
  • =4.02.2
  • =4.02.3
  • =4.02.4
  • =4.03.0
  • =4.03.1
  • =4.04.0
  • =4.04.1
  • =4.04.2
  • =4.04.3
  • =4.05.0
  • =4.05.1
  • =4.06.0
  • =4.06.1
  • =4.06.2
  • =4.07.0
  • =4.07.1
  • =4.07.2
  • =4.08.0
  • =4.08.1
  • =4.08.2
  • =4.09.0
  • =4.09.1
  • =4.09.2
  • =4.10.0
  • =4.10.1
  • =4.10.2
  • =4.10.3
  • =4.11.0
  • =4.11.1
  • =4.11.2
  • =4.11.3
  • =4.12.0
  • =4.12.1
  • =4.12.2
  • =4.13.0
  • =4.13.1
  • =4.13.2
  • =4.14.0
  • =4.14.1
  • =4.14.2
  • =4.14.3
  • =5.0.0
  • =5.0.1
  • =5.1.0
  • =5.1.1
  • =5.1.2
  • =5.2.0
  • =5.2.1
  • =5.2.2
  • =5.3.0
  • =5.3.1
  • =5.4.0
  • =5.4.1
  • =5.4.2
Fixed in
  • 4.14.4
  • 5.5.0
  • ce6d0f7b67145debec57e296dcc49d8619259198
  • 39d3f110eab62ab9f3013bb5f084af2dc3e3bb08
  • d5c65dc0034fbd75f10c6b54028e8b2740a7b189

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available and has been released in OCaml version 4.14.4. Users should upgrade to version 4.14.4 or later to remediate this vulnerability. The fix is documented in the official OCaml pull request https://github.com/ocaml/ocaml/pull/14853. No additional mitigations are indicated by the vendor advisory.

Description

A vulnerability in OCaml on Windows allows command injection via improper quoting of stdin/stdout/stderr filenames. The function Filename.quote_command does not sufficiently escape the '&' character, enabling an attacker to inject shell commands if they can control these file descriptors. This issue affects multiple OCaml versions prior to 4.14.4 and certain 5.x versions. A fix has been released in OCaml 4.14.4.

References

Community reviews

Loading reviews…