OCaml opam up to 2.5.0 Destination install path traversal
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.7 | $0-$5k | 0.00 |
Summary
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.
Details
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.
The vulnerability scanner Nessus provides a plugin with the ID 307613 (Debian dsa-6216 : - security update), which helps to determine the existence of the flaw in a target environment.
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 databases at Tenable (307613) and EUVD (EUVD-2026-23288). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Vendor
Name
Version
Website
- Product: https://github.com/ocaml/opam/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.8VulDB Meta Temp Score: 6.7
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔒
CNA Base Score: 7.3
CNA Vector (MITRE): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 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: 🔍
Exploiting
Class: Path traversalCWE: CWE-24 / CWE-23 / CWE-22
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 307613
Nessus Name: Debian dsa-6216 : - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: opam 2.5.1
Patch: github.com
Timeline
04/16/2026 Advisory disclosed04/16/2026 CVE reserved
04/16/2026 VulDB entry created
07/08/2026 VulDB entry last update
Sources
Product: github.comAdvisory: github.com
Status: Confirmed
CVE: CVE-2026-41082 (🔒)
GCVE (CVE): GCVE-0-2026-41082
GCVE (VulDB): GCVE-100-357962
EUVD: 🔒
Entry
Created: 04/16/2026 21:42Updated: 07/08/2026 05:55
Changes: 04/16/2026 21:42 (66), 04/16/2026 21:54 (1), 04/21/2026 02:03 (2), 07/08/2026 05:55 (11)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.