Description
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
Published: 2026-04-16
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: Path traversal enabling arbitrary file modification
Action: Immediate Patch
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

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
History

Tue, 21 Apr 2026 10:30:00 +0000

Type Values Removed Values Added
References

Sat, 18 Apr 2026 00:15:00 +0000

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


Fri, 17 Apr 2026 08:15:00 +0000

Type Values Removed Values Added
First Time appeared Ocaml
Ocaml ocaml
Vendors & Products Ocaml
Ocaml ocaml

Fri, 17 Apr 2026 03:15:00 +0000

Type Values Removed Values Added
Title Path Traversal in opam .install Files Enables Arbitrary File Modification

Thu, 16 Apr 2026 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 16 Apr 2026 18:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-04-21T09:32:52.152Z

Reserved: 2026-04-16T17:32:39.584Z

Link: CVE-2026-41082

cve-icon Vulnrichment

Updated: 2026-04-21T09:32:52.152Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-04-16T18:16:45.980

Modified: 2026-04-21T10:16:31.107

Link: CVE-2026-41082

cve-icon Redhat

Severity : Important

Publid Date: 2026-04-16T17:32:40Z

Links: CVE-2026-41082 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-17T08:00:10Z

Weaknesses