7.8
HIGH CVSS 3.1
CVE-2026-41082
"OCaml opam Path Traversal Vulnerability"
Description

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

INFO

Published Date :

April 16, 2026, 6:16 p.m.

Last Modified :

July 8, 2026, 3:29 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-41082 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
1 Debian debian_linux
1 Ocaml opam
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH 8254265b-2729-46b6-b9e3-3dfca2d5bfca
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH MITRE-CVE
CVSS 3.1 HIGH 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
CVSS 3.1 HIGH [email protected]
Solution
Update opam to version 2.5.1 or later to fix directory traversal.
  • Update opam to version 2.5.1 or later.
  • Verify installation path configurations.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-41082.

URL Resource
https://github.com/ocaml/opam/pull/6897 Issue Tracking Patch
https://github.com/ocaml/opam/releases/tag/2.5.1 Release Notes
https://osv.dev/vulnerability/OSEC-2026-03 Third Party Advisory
https://lists.debian.org/debian-lts-announce/2026/04/msg00021.html Mailing List Third Party Advisory
https://access.redhat.com/security/cve/CVE-2026-41082 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2459003 Issue Tracking
https://osv.dev/vulnerability/OSEC-2026-03 Third Party Advisory
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41082.json Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-41082 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-41082 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-41082 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jul. 08, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Added CWE CWE-22
    Added CPE Configuration OR *cpe:2.3:a:ocaml:opam:*:*:*:*:*:*:*:* versions up to (excluding) 2.5.1
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
    Added Reference Type MITRE: https://github.com/ocaml/opam/pull/6897 Types: Issue Tracking, Patch
    Added Reference Type MITRE: https://github.com/ocaml/opam/releases/tag/2.5.1 Types: Release Notes
    Added Reference Type MITRE: https://osv.dev/vulnerability/OSEC-2026-03 Types: Third Party Advisory
    Added Reference Type CISA-ADP: https://osv.dev/vulnerability/OSEC-2026-03 Types: Third Party Advisory
    Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2026/04/msg00021.html Types: Mailing List, Third Party Advisory
    Added Reference Type redhat-SADP: https://access.redhat.com/security/cve/CVE-2026-41082 Types: Third Party Advisory
    Added Reference Type redhat-SADP: https://bugzilla.redhat.com/show_bug.cgi?id=2459003 Types: Issue Tracking
    Added Reference Type redhat-SADP: https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41082.json Types: Third Party Advisory
  • CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    Jun. 30, 2026

    Action Type Old Value New Value
    Added Affected [{'cpes': ['cpe:/o:redhat:enterprise_linux:10'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 10', 'defaultStatus': 'affected'}]
    Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
    Added CWE CWE-24
    Added Reference https://access.redhat.com/security/cve/CVE-2026-41082
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2459003
    Added Reference https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41082.json
  • CVE Modified by [email protected]

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'OCaml', 'product': 'opam', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '2.5.1', 'versionType': 'semver'}], 'packageURL': 'pkg:opam/opam-format', 'defaultStatus': 'unaffected'}]
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 17, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-41082', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-06-16T16:10:19.452755Z'}
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 16, 2026

    Action Type Old Value New Value
    Added Reference https://osv.dev/vulnerability/OSEC-2026-03
  • CVE Modified by [email protected]

    Jun. 15, 2026

    Action Type Old Value New Value
    Added Reference https://osv.dev/vulnerability/OSEC-2026-03
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Apr. 21, 2026

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2026/04/msg00021.html
  • New CVE Received by [email protected]

    Apr. 16, 2026

    Action Type Old Value New Value
    Added Description In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
    Added CVSS V3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
    Added CWE CWE-24
    Added Reference https://github.com/ocaml/opam/pull/6897
    Added Reference https://github.com/ocaml/opam/releases/tag/2.5.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.