CVE-2026-41082 json
opam install sandbox escape
published 2026-04-15 6 mo ago modified 2026-11-06 2 d ago also EUVD-2026-23288 , OSEC-2026-03
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
Patch / fix
- opam opam-devel 2.5.1
- OCaml opam 2.5.1
- opam Debian 12 2.1.2-1+deb12u1
- opam Debian 13 2.3.0-1+deb13u1
- opam Debian 14 2.5.1-1
debian advisories DEBIAN-CVE-2026-41082
- opam Ubuntu 22.04 LTS 2.1.2-1+deb12u1build0.22.04.1
- opam Ubuntu 25.10 2.3.0-1+deb13u1build0.25.10.1
- opam Ubuntu Pro 20.04 LTS 2.0.5-1ubuntu1+esm1
- opam Ubuntu Pro 24.04 LTS 2.1.5-1ubuntu0.1~esm2
- opam Ubuntu Pro 26.04 LTS 2.5.0-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2026-41082
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- opam openSUSE Leap 16.0 2.5.2-bp160.1.1
- opam openSUSE Tumbleweed 2.5.1-1.1
opensuse advisories openSUSE-SU-2026:21380-1openSUSE-SU-2026:10568-1
- github.com/ocaml/opam#6897 pull request
- github.com/ocaml/opam#6898 pull request
- github.com/ocaml/opam/releases/tag/2.5.1 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-41082 updated cvss 7.1
ocaml-opam: path traversal via the .install field
-
Red Hat Enterprise Linux 10 ocaml-duneaffected: workaround, no fix available “To mitigate this vulnerability, do not install packages from untrusted sources and manually inspect the .install field in the package source to make sure it does not contain malicious paths.”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- osv.dev https://osv.dev/vulnerability/OSEC-2026-03 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L |
| CISA ADP | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
| OSV | 3.0 | 5.7 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| opam | opam-devel | <2.5.1 |
2.5.1 |
Affected products
- OCaml opam
- Red Hat Red Hat Enterprise Linux 10
Classification
References
-
github.com
/ocaml/opam/pull/6897
issue-tracking, patch
-
github.com
/ocaml/opam/pull/6898
patch
-
osv.dev
/vulnerability/OSEC-2026-03
exploit, third-party-advisory
-
github.com
/ocaml/opam/releases/tag/2.5.1
release-notes
-
lists.debian.org
/debian-lts-announce/2026/04/msg00021.html
mailing-list, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2026-41082
vdb-entry, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2459003
issue-tracking
-
security.access.redhat.com
/data/csaf/v2/vex/2026/cve-2026-41082.json
third-party-advisory
Sources
- CVE List CVE-2026-41082
- NVD CVE-2026-41082
- OSV OSEC-2026-03
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.