CVE-2026-41082
Awaiting Analysis Awaiting Analysis - Queue

Directory Traversal in OCaml opam .install Field Before

Vulnerability report for CVE-2026-41082, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-04-16

Last updated on: 2026-06-30

Assigner: MITRE

Description

In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-16
Last Modified
2026-06-30
Generated
2026-07-06
AI Q&A
2026-04-16
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ocaml opam to 2.5.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
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.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in OCaml opam versions before 2.5.1. It involves the .install field, which specifies a destination filepath. The issue is that this field can include "../" sequences to traverse to a parent directory, potentially allowing files to be installed outside the intended directory.

Impact Analysis

The vulnerability can lead to unauthorized file placement outside the intended directory structure. This may result in overwriting or placing files in sensitive locations, potentially causing integrity issues or enabling further exploitation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-41082. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart