Skip to main content
VulnerabilityPublished Updated

CVE-2026-41082: In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a

Affects opamSource GCVE Database

0
Compare
Authoritative record:CVE-2026-41082· High 7.3

Not known to be exploited · CVSS 7.3 High · fixed in 2.0.5-1ubuntu1+esm1 : patch opam soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.0.5-1ubuntu1+esm1, 2.1.2-1+deb12u1build0.22.04.1, 2.1.5-1ubuntu0.1~esm2 +2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.10opampkg:deb/ubuntu/opam?arch=source&distro=stonkingOther threatsAffected
  • =2.5.0-1
  • =2.5.2-1
Fixed in–
Ubuntu Pro 26.04 LTSopampkg:deb/ubuntu/opam?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • <2.5.0-1ubuntu0.1~esm1
Fixed in
  • 2.5.0-1ubuntu0.1~esm1
Ubuntu 25.10opampkg:deb/ubuntu/opam?arch=source&distro=questingOther threatsAffected
  • <2.3.0-1+deb13u1build0.25.10.1
Fixed in
  • 2.3.0-1+deb13u1build0.25.10.1
Ubuntu Pro 24.04 LTSopampkg:deb/ubuntu/opam?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <2.1.5-1ubuntu0.1~esm2
Fixed in
  • 2.1.5-1ubuntu0.1~esm2
Ubuntu 22.04 LTSopampkg:deb/ubuntu/opam?arch=source&distro=jammyOther threatsAffected
  • <2.1.2-1+deb12u1build0.22.04.1
Fixed in
  • 2.1.2-1+deb12u1build0.22.04.1
Ubuntu Pro 20.04 LTSopampkg:deb/ubuntu/opam?arch=source&distro=esm-apps/focalOther threatsAffected
  • <2.0.5-1ubuntu1+esm1
Fixed in
  • 2.0.5-1ubuntu1+esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.

References

Community reviews

Loading reviews…