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

CVE-2026-41082 is a path traversal flaw in OCaml opam before 2.5.1. A crafted .install destination path can escape its intended directory using parent-directory traversal. The main business risk is integrity impact on developer or build systems that install OCaml packages with affected opam versions.

Executive priority

Treat this as a high-priority developer tooling issue, especially where OCaml dependencies are installed in CI or packaging workflows. Prioritize upgrade over compensating controls because the fix is identified as opam 2.5.1.

Technical view

The issue is classified as CWE-24. opam before 2.5.1 did not sufficiently constrain destination file paths in .install metadata, allowing ../ traversal to a parent directory. CVSS 3.1 is 7.3 with local attack vector, low complexity, no privileges required, and high integrity impact.

Likely exposure

Exposure is most likely on developer workstations, CI builders, packaging systems, or servers using opam before 2.5.1 to install OCaml packages. The provided data does not prove every downstream distribution package is affected.

Exploitation context

The CVE is not listed as KEV in the provided bundle, and no cited source here confirms active exploitation. The CVSS vector indicates local exploitation conditions, with no privileges or user interaction required once the vulnerable processing path is reached.

Researcher notes

Evidence supports a path traversal in .install destination handling, fixed by the opam 2.5.1 release and related upstream pull request. The bundle has incomplete downstream affected-version detail, including an unusual affected version value of 0, so verify package-specific advisories.

Mitigation direction

  • Upgrade opam to version 2.5.1 or later.
  • Apply distribution-provided opam updates where Debian or Red Hat guidance applies.
  • Check vendor advisories for environment-specific fixed package versions.
  • Limit installation of untrusted OCaml packages until affected opam versions are replaced.
  • Review build and CI systems for affected opam installations.

Validation and detection

  • Inventory opam versions across developer, CI, and build environments.
  • Confirm all opam installations report version 2.5.1 or later.
  • Check Debian and Red Hat advisory status for managed hosts.
  • Review package build logs for unexpected file writes during opam installs.
  • Document any systems that cannot be upgraded and apply vendor guidance.
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.