Skip to content
Fencer Vulns
high 7.3

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

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-dune
    affected: 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

Weakness
  • CWE-24 Path Traversal: '../filedir'
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

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.