Vulnerability · Published Apr 16, 2026 · Assigned by mitre
CVE-2026-41082
High 7.3
In plain English
A high-severity security flaw in opam from OCaml. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.2%top 89.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | opam | 2.1.2-1+deb12u1 | DEBIAN-CVE-2026-41082 |
| Debian:13 | opam | 2.3.0-1+deb13u1 | DEBIAN-CVE-2026-41082 |
| Debian:14 | opam | 2.5.1-1 | DEBIAN-CVE-2026-41082 |
| Ubuntu:22.04:LTS | opam | 2.1.2-1+deb12u1build0.22.04.1 | UBUNTU-CVE-2026-41082 |
| Ubuntu:25.10 | opam | 2.3.0-1+deb13u1build0.25.10.1 | UBUNTU-CVE-2026-41082 |
| Ubuntu:26.10 | opam | no fix listed | UBUNTU-CVE-2026-41082 |
Affected products (as reported)
Weakness: CWE-24 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
References
- https://github.com/ocaml/opam/releases/tag/2.5.1
- https://github.com/ocaml/opam/pull/6897
- https://osv.dev/vulnerability/OSEC-2026-03
- https://lists.debian.org/debian-lts-announce/2026/04/msg00021.html
- https://access.redhat.com/security/cve/CVE-2026-41082 vdb-entry, x_refsource_REDHAT
- RHBZ#2459003 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41082.json x_sadp-csaf-vex