Path Traversal in Ocaml Opam
CVE-2026-41082
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L.
EPSS exploit prediction
EPSS 0.002, 11.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ocaml Opam — versions 0
- Debian Linux — versions 11.0
- Red Hat Enterprise Linux — versions 10.0
Weakness classification (CWE)
References
- github.com/ocaml/opam/releases/tag/2.5.1 (Release Notes)
- github.com/ocaml/opam/pull/6897 (Patch, Issue Tracking)
- osv.dev/vulnerability/OSEC-2026-03 (Third Party Advisory)
- lists.debian.org/debian-lts-announce/2026/04/msg00021.html (Mailing List, Third Party Advisory)
- access.redhat.com/security/cve/CVE-2026-41082 (Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Issue Tracking)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41082.json (Third Party Advisory)