CVE-2026-41082 ocaml-opam: path traversal via the .install field
HighCVSS 7.8
EPSS 0.21%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
Upgrade path
12 packages: 8 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat enterprise linux | = 10.0; All versions | No fix listed | No fix yet |
| redhat/ocaml-dune(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| ubuntu/opam(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/opam(Debian 12) | < 2.1.2-1+deb12u1; = 2.1.2-1 | 2.1.2-1+deb12u1 | Fixed |
| debian/opam(Debian 13) | < 2.3.0-1+deb13u1; = 2.3.0-1 | 2.3.0-1+deb13u1 | Fixed |
| debian/opam(Debian 14) | < 2.5.1-1; = 2.3.0-1; = 2.4.1-1; = 2.5.0-1 | 2.5.1-1 | Fixed |
| ocaml opam | < 2.5.1 | 2.5.1 | Fixed |
| opam-format | < 2.5.1 | 2.5.1 | Fixed |
| ubuntu/opam(Ubuntu 22.04) | < 2.1.2-1+deb12u1build0.22.04.1 | 2.1.2-1+deb12u1build0.22.04.1 | Fixed |
| ubuntu/opam(Ubuntu 24.04) | < 2.1.5-1ubuntu0.1~esm2 | 2.1.5-1ubuntu0.1~esm2 | Fixed |
| ubuntu/opam(Ubuntu 26.04) | < 2.5.0-1ubuntu0.1~esm1 | 2.5.0-1ubuntu0.1~esm1 | Fixed |
| debian linux | = 11.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| opam-format | < 2.5.1 | 2.5.1 |
| redhat enterprise linux | All versions | No fix listed |
| debian/opam(Debian:12) | < 2.1.2-1+deb12u1 | 2.1.2-1+deb12u1 |
| debian/opam(Debian:14) | < 2.5.1-1 | 2.5.1-1 |
| debian/opam(Debian:13) | < 2.3.0-1+deb13u1 | 2.3.0-1+deb13u1 |
| debian/opam(Debian:12) | = 2.1.2-1 | No fix listed |
| debian/opam(Debian:13) | = 2.3.0-1 | No fix listed |
| debian/opam(Debian:14) | = 2.3.0-1 | No fix listed |
| debian/opam(Debian:14) | = 2.4.1-1 | No fix listed |
| debian/opam(Debian:14) | = 2.5.0-1 | No fix listed |
| redhat/ocaml-dune(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| ubuntu/opam(Ubuntu:22.04) | < 2.1.2-1+deb12u1build0.22.04.1 | 2.1.2-1+deb12u1build0.22.04.1 |
| ubuntu/opam(Ubuntu:24.04) | < 2.1.5-1ubuntu0.1~esm2 | 2.1.5-1ubuntu0.1~esm2 |
| ubuntu/opam(Ubuntu:26.04) | < 2.5.0-1ubuntu0.1~esm1 | 2.5.0-1ubuntu0.1~esm1 |
| ubuntu/opam(Ubuntu:26.10) | All versions | No fix listed |
| ocaml opam | < 2.5.1 | 2.5.1 |
| debian linux | = 11.0 | No fix listed |
| redhat enterprise linux | = 10.0 | No fix listed |
References
- github.com release-notes
- github.com issue-tracking patch
- osv.dev exploit third-party-advisory
- lists.debian.org mailing-list third-party-advisory
- Red Hat CVE page mitigation third-party-advisory vdb-entry vendor-advisory
- RHBZ#2459003 issue-tracking
- security.access.redhat.com third-party-advisory
- Debian Security Tracker CVE-2026-41082 vendor-advisory
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- USN-8256-1 vendor-advisory