High severity · published Apr 16, 2026
CVE-2026-41082
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory
7.8
CVSS
0.2%
EPSS
No
On KEV
Description
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 10% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OP
opam · OCaml
before 2.5.1 · source: vendor, NVD
DL
Debian Linux · Debian
11.0 · source: NVD
EL
Enterprise Linux · Redhat
10.0 · source: NVD
RH
Red Hat Enterprise Linux 10 · Red Hat
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-41082
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-41082
Issue Tracking
https://github.com/ocaml/opam/pull/6897
Release Notes
https://github.com/ocaml/opam/releases/tag/2.5.1
Third Party Advisory
https://osv.dev/vulnerability/OSEC-2026-03
Mailing List
https://lists.debian.org/debian-lts-announce/2026/04/msg00021.html
Third Party Advisory
https://access.redhat.com/security/cve/CVE-2026-41082
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2459003
More from opam
5.7
CVE-2026-57825
In the opam package before 2.5.2 for OCaml, the sandbox protection mechanism can be bypassed because symlinks are mishandled during use of .install files
