CVE-2026-41082

Publication date 17 April 2026

Last updated 13 May 2026


Ubuntu priority

Cvss 3 Severity Score

7.3 · High

Score breakdown

Description

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

Read the notes from the security team

Status

Package Ubuntu Release Status
opam 26.04 LTS resolute
Fixed 2.5.0-1ubuntu0.1~esm1
25.10 questing
Fixed 2.3.0-1+deb13u1build0.25.10.1
24.04 LTS noble
Fixed 2.1.5-1ubuntu0.1~esm2
22.04 LTS jammy
Fixed 2.1.2-1+deb12u1build0.22.04.1
20.04 LTS focal
Fixed 2.0.5-1ubuntu1+esm1
18.04 LTS bionic
Vulnerable
16.04 LTS xenial Ignored end of ESM support, was needed

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Notes


john-breton

Backports to xenial and bionic will require a significant amount of effort due to the older versions of opam. Upstream has only released a fix targeting 2.5.X.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
opam

Severity score breakdown

Parameter Value
Base score 7.3 · High
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality Low
Integrity impact High
Availability impact Low
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

Access our resources on patching vulnerabilities