← CVE Intelligence

CVE-2026-41082

OCaml / opam PUBLISHED

Description (CNA)

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

Affected (CNA)

Vendor / productVersions
OCaml / opamaffected 0 before 2.5.1

CWE

CWE-24

References

ADP enrichment

CISA-ADP

No English description supplied.

CVE

No English description supplied.

redhat-SADP

A flaw was found in OCaml opam. A malicious package containing a crafted .install field with directory traversal sequences allows an attacker to write files to arbitrary locations, potentially overwriting system files and causing arbitrary code execution.