In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
Attack Parameters
Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required
Impact Assessment
Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 3
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Ocaml Opam
cpe:2.3:a:ocaml:opam:*:*:*:*:*:*:*:*
|
— |
2.5.1
|
|
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
|
— | — |
References 7
https://github.com/ocaml/opam/pull/6897
cve@mitre.org
https://github.com/ocaml/opam/releases/tag/2.5.1
cve@mitre.org
https://osv.dev/vulnerability/OSEC-2026-03
cve@mitre.org
https://lists.debian.org/debian-lts-announce/2026/04/msg00021.html
af854a3a-2127-422b-91ae-364da2661108
https://access.redhat.com/security/cve/CVE-2026-41082
0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://bugzilla.redhat.com/show_bug.cgi?id=2459003
0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41082.json
0b0ca135-0b70-47e7-9f44-1890c2a1c46c