CVE-2026-41082 | OCaml opam up to 2.5.0 Destination install path traversal (EUVD-2026-23288)
VulDBArchived Apr 17, 2026✓ Full text saved
A vulnerability identified as problematic has been detected in OCaml opam up to 2.5.0 . Affected is an unknown function of the component Destination Handler . This manipulation of the argument install causes path traversal: '../filedir'. This vulnerability is handled as CVE-2026-41082 . It is possible to launch the attack on the local host. There is not any exploit available. You should upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-357962 · CVE-2026-41082 · EUVD-2026-23288
OCAML OPAM UP TO 2.5.0 DESTINATION INSTALL PATH TRAVERSAL
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
6.2 $0-$5k 4.37
Summaryinfo
A vulnerability labeled as problematic has been found in OCaml opam up to 2.5.0. Affected by this vulnerability is an unknown functionality of the component Destination Handler. Such manipulation of the argument install leads to path traversal. This vulnerability is uniquely identified as CVE-2026-41082. Local access is required to approach this attack. No exploit exists. The affected component should be upgraded.
Detailsinfo
A vulnerability was found in OCaml opam up to 2.5.0 and classified as problematic. Affected by this issue is an unknown part of the component Destination Handler. The manipulation of the argument install with an unknown input leads to a path traversal vulnerability. Using CWE to declare the problem leads to CWE-24. The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory. Impacted is confidentiality, integrity, and availability. CVE summarizes:
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
The advisory is available at github.com. This vulnerability is handled as CVE-2026-41082 since 04/16/2026. The exploitation is known to be easy. Local access is required to approach this attack. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1006 by the MITRE ATT&CK project.
Upgrading to version 2.5.1 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2026-23288).
Productinfo
Vendor
OCaml
Name
opam
Version
2.0
2.1
2.2
2.3
2.4
2.5.0
Website
Product: https://github.com/ocaml/opam/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.2
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 7.3
CNA Vector (MITRE): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Path traversal
CWE: CWE-24 / CWE-23 / CWE-22
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: opam 2.5.1
Patch: github.com
Timelineinfo
04/16/2026 Advisory disclosed
04/16/2026 +0 days CVE reserved
04/16/2026 +0 days VulDB entry created
04/16/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: github.com
Status: Confirmed
CVE: CVE-2026-41082 (🔒)
GCVE (CVE): GCVE-0-2026-41082
GCVE (VulDB): GCVE-100-357962
EUVD: 🔒
Entryinfo
Created: 04/16/2026 21:42
Updated: 04/16/2026 21:54
Changes: 04/16/2026 21:42 (66), 04/16/2026 21:54 (1)
Complete: 🔍
Cache ID: 99:832:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸