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 (10.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 11th percentile — 10.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
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)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List, Third Party Advisory)
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Third Party Advisory)
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Issue Tracking)
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Third Party Advisory)
Frequently asked questions
- What is CVE-2026-41082?
- CVE-2026-41082 is a high-severity vulnerability in Ocaml Opam, classified under CWE-24. CVSS score: 7.3/10. Published 2026-04-16.
- How severe is CVE-2026-41082?
- High severity. CVSS v3 base score is 7.3 out of 10.