CVE-2026-41082: OCaml opam · Path Traversal: '../filedir
Affects OCaml opamSource CVE Database V5
Not known to be exploited · CVSS 7.3 High : upgrade to 2.5.1 soon.
Data as of 29 Oct 2026, 19:04 UTC
- 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:LExploitation evidence
Disclosed: evidence found.
CVE published 16 Apr 2026
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 29 Oct 2026.
What to do
Upgrade opam and ocaml/opam to 2.5.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| OCamlopam | Affected
| Fixed in
|
GitHubocaml/opampkg:github/ocaml/opamOther threats | 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
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
- github.com/ocaml/opam/releases/tag/2.5.1 (opens in a new tab)
- github.com/ocaml/opam/pull/6897 (opens in a new tab)
- osv.dev/vulnerability/OSEC-2026-03 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2026/04/msg00021.html (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-41082 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2459003 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41082.json (opens in a new tab)