CVE-2026-41082

High

Description

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

SeverityHigh
CVSS7.3
Exploit probability—
ProductOcaml Opam
PublishedApr 16, 2026
First seenApr 16, 2026
Weakness typeCWE-24CWE-24

How to fix

Update
  • ocaml opam2.5.1 or later

Affected products

ProductAffected versionsFixed in
ocaml opamv < 2.5.12.5.1
debian debian_linux11.0—
redhat enterprise_linux10.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.