Skip to main content
VulnerabilityPublished Updated

CVE-2026-41082: opam vulnerability

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, 17:26 UTC

CVSS 3.1 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
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 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed 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.

AI-suggested

A fix is available and can be applied by updating opam to the patched versions listed in the Ubuntu security notice USN-8256-1. Users should perform a standard system update or use Ubuntu Pro Extended Security Maintenance (ESM) to obtain the fixes. No additional mitigation steps are required beyond applying the official patches.

Description

A vulnerability in opam allows improper validation of file destination paths during package installation. This flaw enables attackers to bypass sandbox protections and write files to arbitrary locations, potentially leading to arbitrary code execution. The issue affects multiple versions of opam across various Ubuntu releases. Fixes have been released and are available via standard system updates or Ubuntu Pro Extended Security Maintenance (ESM) channels.

References

Community reviews

Loading reviews…