Raw vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:LCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-41082 is a high-severity Path Traversal: '../filedir' (CWE-24) vulnerability in Ocaml Opam. Its CVSS base score is 7.3 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique External Defacement (T1491.002); ranked at the 8th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2026-41082 is a path traversal vulnerability (CWE-24) in the OCaml opam package manager prior to version 2.5.1. The issue arises when processing a .install field in a package specification, which allows the destination filepath to include "../" sequences. This enables traversal to parent directories outside the intended installation scope. The vulnerability received a CVSS v3.1 base score of 7.3 (AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L), indicating high severity due to significant integrity impacts with low complexity and no privileges required.
A local attacker can exploit this vulnerability by creating or controlling a malicious opam package with a crafted .install field that uses "../" to target files in parent directories. Upon installation via opam, the package installs files to unauthorized locations, potentially overwriting critical system files. This grants high integrity disruption (I:H) with low confidentiality (C:L) and availability (A:L) impacts, all without user interaction or elevated privileges, as long as the victim runs the opam install command locally.
Mitigation involves updating to opam version 2.5.1 or later, as detailed in the official release notes and the corresponding GitHub pull request #6897 that addresses the path traversal. Debian LTS users should refer to the security announcement for patched packages in their repositories. No workarounds are specified beyond avoiding installation of untrusted packages.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-23288
Vulnerability Data
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V5.3.2
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Enforces the intended directory access authorizations that path traversal would otherwise bypass.
Input validation directly neutralizes '../' sequences in externally-supplied pathnames before they are resolved.
Least privilege reduces the impact of any unauthorized file access obtained via traversal.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require input validation and path sanitization that prevent ../ traversal.
Patching/maintenance can remediate known path-traversal flaws in deployed software (partial prevention of exploitability) but does nothing to stop the coding defect from being introduced in the first place.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing in development catches path-traversal flaws before release.
Training developers in secure coding practices (input validation, path neutralization) reduces path traversal defects but is a fallible human practice; the A.6.3 vs CWE-598 anchor sets the rung for code-level defects developers introduce, and path traversal sits in the same band.
A.8.19 governs the installation and update process for operational software, ensuring integrity and preventing exploitation, but it does not remove existing path traversal flaws in application code; the weakness is a code defect that persists unless the code itself is fixed.
Secure coding standards require neutralizing ../ sequences and canonicalizing paths before file operations.
A.8.8's reach is DISCLOSURE — vulnerability scanning, patch management, and tracking third-party libraries all see only what carries a published advisory. Path traversal commonly surfaces as CVEs (it is a well-known class), so the disclosed share is non-trivial, but most path traversal in custom first-party code never gets a CVE and is outside A.8.8's view. The penetration-testing element in (e) is part of the programme but does not change the control's primary disclosure-based reach, and the guidance is clear that an actor naming one reach is not credited with others.