PatchSiren cyber security CVE debrief
CVE-2026-41082 OCaml CVE debrief
CVE-2026-41082 is a HIGH-severity vulnerability in OCaml opam, a package manager for OCaml. The vulnerability allows a .install field to use ../ to reach a parent directory, potentially leading to security issues.
- Vendor
- OCaml
- Product
- opam
- CVSS
- HIGH 7.3
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-04-16
- Original CVE updated
- 2026-07-15
- Advisory published
- 2026-04-16
- Advisory updated
- 2026-07-15
Who should care
Users of OCaml opam before version 2.5.1 should be aware of this vulnerability and take steps to mitigate it.
Technical summary
The vulnerability is caused by the ability to use ../ in a .install field, which can be used to reach a parent directory. This could potentially be used to overwrite files or directories outside of the intended installation location.
Defensive priority
HIGH
Recommended defensive actions
- Upgrade to OCaml opam version 2.5.1 or later.
- Review and validate .install files to ensure they do not use ../ to reach parent directories.
Evidence notes
The CVE record and NVD detail pages provide additional information about this vulnerability.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-41082 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-41082
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-41082 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-41082
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/ocaml/opam/pull/6897
-
Source reference
Unverified legacy reference
URL: https://github.com/ocaml/opam/releases/tag/2.5.1
-
Source reference
Unverified legacy reference
URL: https://osv.dev/vulnerability/OSEC-2026-03
-
Source reference
Unverified legacy reference
URL: https://lists.debian.org/debian-lts-announce/2026/04/msg00021.html
af854a3a-2127-422b-91ae-364da2661108
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.