CVE-2026-41082 Details
Description
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
A directory traversal vulnerability has been identified in OCaml Opam versions prior to 2.5.1. The issue arises in the .install field when it contains a destination filepath that can be manipulated to reach a parent directory using '../'. This could potentially allow for unauthorized access to files or directories outside the intended scope.
Users can upgrade to OCaml Opam version 2.5.1 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-41082 | redhat-SADP | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2459003 | redhat-SADP | Issue Tracking |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41082.json | redhat-SADP | Third Party Advisory |
| https://osv.dev/vulnerability/OSEC-2026-03 | CISA-ADP | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2026/04/msg00021.html | CVE | Mailing ListThird Party Advisory |
| https://github.com/ocaml/opam/pull/6897 | [email protected] | Issue TrackingPatch |
| https://github.com/ocaml/opam/releases/tag/2.5.1 | [email protected] | Release Notes |
| https://osv.dev/vulnerability/OSEC-2026-03 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-24 | Path Traversal: '../filedir' | redhat-SADP |
| CWE-24 | Path Traversal: '../filedir' | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ocaml opam | < 2.5.1 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
| redhat enterprise linux | 10.0 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jul 8, 2026 | Initial Analysis | [email protected] |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 16, 2026 | CVE Modified | CISA-ADP |
| Jun 15, 2026 | CVE Modified | [email protected] |
| Apr 21, 2026 | CVE Modified | CVE |
| Apr 16, 2026 | New CVE Received | [email protected] |