Skip to main content
VulnerabilityPublished Updated

CVE-2026-41082: OCaml opam · Path Traversal: '../filedir

Affects OCaml opamSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.3 High : upgrade to 2.5.1 soon.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 3.1 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.5.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 29 Oct 2026.

What to do

Upgrade opam and ocaml/opam to 2.5.1.

Affected software

ProductAffectedFixed in
OCamlopamAffected
  • <2.5.1
Fixed in
  • 2.5.1
GitHubocaml/opampkg:github/ocaml/opamOther threatsAffected
  • <2.5.1
Fixed in
  • 2.5.1

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

AI-suggested

If you cannot patch yet, avoid installing untrusted opam packages or review .install fields for path traversal sequences before installation.

Description

In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.

References

Community reviews

Loading reviews…