OCaml Opam Directory Traversal Vulnerability in .install Field
Vulnerability
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.
Impact
Exploitation of this vulnerability could lead to unauthorized file access or manipulation by traversing directories outside the intended boundaries.
Remediation
Users can upgrade to OCaml Opam version 2.5.1 or later to address this vulnerability.
Added: Apr 16, 2026, 6:27 PM
Updated: Apr 16, 2026, 6:27 PM
Vulnerability Rating
Custom Algorithm
spread
0.0impact
0.6exploitability
4.2remediation
0.0relevance
6.0threat
0.0urgency
2.9incentive
0.0Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
