| Name | CVE-2026-41082 |
| Description | In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| opam (PTS) | bullseye | 2.0.8-1 | vulnerable |
| bookworm | 2.1.2-1 | vulnerable |
| trixie | 2.3.0-1 | vulnerable |
| forky | 2.5.0-1 | vulnerable |
| sid | 2.5.1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| opam | source | (unstable) | 2.5.1-1 | | | |
Notes
https://github.com/ocaml/security-advisories/blob/main/advisories/2026/OSEC-2026-03.md