LiveActive security incident?Get immediate response
CVE Record

CVE-2026-41082: In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a paren...

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

HighCVSS 7.3Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

OCaml opam versions before 2.5.1 can mishandle destination paths in .install metadata. A crafted install entry may write outside the intended directory using parent-directory traversal. For businesses, the main concern is build or developer environments where package installation can alter files unexpectedly.

Executive priority

Prioritize remediation for engineering and CI environments because unexpected file writes can compromise build integrity. Treat this as high urgency where opam processes external or community packages, but avoid emergency assumptions without exposure evidence.

Technical view

This is a CWE-24 path traversal issue in opam .install destination filepath handling. The CVSS 3.1 score is 7.3: local attack vector, low complexity, no privileges, no user interaction, with high integrity impact and limited confidentiality and availability impact.

Likely exposure

Exposure is most likely where OCaml opam before 2.5.1 is installed, especially developer machines, CI runners, build workers, or package automation processing .install metadata. The source bundle’s affected-version detail is sparse, so confirm exact exposure against opam and distro advisories.

Exploitation context

The provided sources do not state active exploitation, and KEV is false. The evidence supports a local path traversal risk during opam install processing, but does not establish remote exploitation or public weaponization.

Researcher notes

The record identifies path traversal via ../ in .install destination filepaths before opam 2.5.1. Public evidence is sufficient for triage and version validation, but incomplete for exploit prevalence, vulnerable workflow prerequisites, and downstream distro patch mapping.

Mitigation direction

  • Upgrade opam to 2.5.1 or later where applicable.
  • Apply Debian, Red Hat, or other distribution guidance for packaged opam versions.
  • Restrict untrusted package installation in CI and developer workflows.
  • Review vendor advisories before assuming backported package versions are vulnerable.

Validation and detection

  • Inventory opam versions on developer systems, build hosts, and CI runners.
  • Check whether package install workflows consume untrusted .install metadata.
  • Compare installed packages against opam 2.5.1 and distro advisory status.
  • Review recent build or install anomalies involving unexpected file writes.
Prepared
Confidence
medium
Sources
9

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-24: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-41082 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
5Timeline events
3ADP providers
8Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: partial

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.3CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L2.54.7mitre
7.1CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H1.85.2redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

7.3High
CVSS 3.1 vector shape for CVE-2026-41082Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container
redhat-SADPocaml-opam: path traversal via the .install field
other:Red Hat severity ratingcvssV3_1
  • 2026-04-16T18:00:56.999Z: Reported to Red Hat.
  • 2026-04-16T17:32:40.068Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
OCamlopam0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-24 · source CWE mapping

Path Traversal: '../filedir'

Path Traversal: '../filedir' represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.