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

EcosystemPackageFixed inAdvisory
Debian:12opam2.1.2-1+deb12u1DEBIAN-CVE-2026-41082
Debian:13opam2.3.0-1+deb13u1DEBIAN-CVE-2026-41082
Debian:14opam2.5.1-1DEBIAN-CVE-2026-41082
Ubuntu:22.04:LTSopam2.1.2-1+deb12u1build0.22.04.1UBUNTU-CVE-2026-41082
Ubuntu:25.10opam2.3.0-1+deb13u1build0.25.10.1UBUNTU-CVE-2026-41082
Ubuntu:26.10opamno fix listedUBUNTU-CVE-2026-41082

Affected products (as reported)

VendorProductVersions
OCaml opam 0 – before 2.5.1

Weakness: CWE-24 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

References