CVE-2026-41082

ocaml-opam: path traversal via the .install field

Published Apr 16, 2026 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
Description
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4541-1 opam security update
Debian DSA Debian DSA DSA-6216-1 opam security update
Ubuntu USN Ubuntu USN USN-8256-1 opam vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Path Traversal in opam .install Files Enables Arbitrary File Modification ocaml-opam: path traversal via the .install field
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
First Time appeared Ocaml
Ocaml ocaml
Vendors & Products Ocaml
Ocaml ocaml
Type Values Removed Values Added
Title Path Traversal in opam .install Files Enables Arbitrary File Modification
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
Weaknesses CWE-24
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jul 15, 2026, 1:00 AM
Reserved
Apr 16, 2026, 5:32 PM
Status
Analyzed
Published
Apr 16, 2026, 6:16 PM
Modified
Oct 26, 2026, 9:10 PM
Severity
Important
Public date
Apr 16, 2026, 5:32 PM