OCaml opam Before 2.5.1 Lets a .install Destination Path Use ../ to Escape Its Directory
Last refreshed2026-11-17
Status: UPDATED
| Advisory ID: CVE-2026-41082
Key Details
CVE
CVE-2026-41082
CVSS Score / Version
7.3 (High) / CVSS v3.1
Updated
2026-10-26
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
CVSS Prose
attack vector is local; attack complexity is low; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is low; integrity impact is high; availability impact is low.
Affected products
Red Hat Enterprise Linux, Red Hat Enterprise Linux 10, and ocaml opam
Classified as
CWE-24 (Path Traversal: '../filedir')
Exploitation prediction (EPSS)
0.21% probability of exploitation in the next 30 days (12% percentile) -- FIRST.org's EPSS model.
Affected Products, Subsystems & Sectors
Vendor
Product
Affected Versions
Patch Status
Red Hat
Enterprise Linux
Red Hat
Red Hat Enterprise Linux 10
ocaml
opam
Subsystems
OT Supporting Infrastructure
Sectors
All Sectors
What to Know
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
What to Do
Monitor Red Hat's and ocaml's web pages for any future patch releases.