LearnCTEM.com, Best CTEM Learning Platform
CVE Intelligence Hub

CVE-2026-41082: Ocaml Opam Path Traversal (CVSS 7.3)

CVE-2026-41082 is a high severity path traversal in Ocaml Opam with a CVSS score of 7.3. Apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Last updated: Jul 15, 2026

Quick answer

Direct answer

CVE-2026-41082 is a high severity path traversal in Ocaml Opam with a CVSS score of 7.3. Apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Risk scores

CVSS base score
7.3HIGH
EPSS probability
0.22%
Higher than 11 percent of all CVEs
CISA KEV
Not listed
CVSS metricWhat it means
Attack vector (AV:L)Local access needed
Attack complexity (AC:L)Low complexity
Privileges required (PR:N)No privileges required
User interaction (UI:N)No user interaction
Scope (S:U)Scope unchanged
Confidentiality (C:L)Low confidentiality impact
Integrity (I:H)High integrity impact
Availability (A:L)Low availability impact

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

About Ocaml Opam

CVE-2026-41082 affects Ocaml Opam, a product from Ocaml. Before acting, confirm where Ocaml Opam runs in your estate, who owns it and whether it is reachable from the internet, because exposure decides real risk more than the score alone.

What the flaw is

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

The weakness class is Path Traversal. An attacker can reach files outside the intended folder by tampering with a file path.

Based on its CVSS vector, the flaw needs local or adjacent access, needs no login, and needs no user interaction. Apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Affected versions and timeline

FieldDetail
ProductOcaml Opam
Affected versionsOpam before 2.5.1; Debian Linux 11.0; Enterprise Linux 10.0
PublishedApr 16, 2026
Last modifiedJul 15, 2026
Added to CISA KEVNot listed
Assigning CNAcve@mitre.org

How to detect it

  • Inventory every instance of Ocaml Opam and record the running version against the affected range above.
  • Check external attack surface scans for internet facing instances of the component.
  • Review logs on affected systems for unusual requests, errors or new processes around the vulnerable function.
  • Confirm with an authenticated vulnerability scan once your scanner has a check for this CVE.

How to fix it

  • Apply the fixed version of Ocaml Opam named in the vendor advisory.
  • If patching must wait, restrict network access to the affected service and put it behind authentication or a web application firewall rule.
  • Rescan after the change to prove the exposure is gone, then close the ticket.

CTEM action plan

CTEM stageWhat to do for this CVE
ScopeAdd every business service that depends on Ocaml Opam to the current CTEM cycle.
DiscoverFind all instances, including shadow and cloud deployments, and record versions and exposure.
PrioritizeRank using EPSS and CVSS together with asset exposure and business impact.
ValidateConfirm the flaw is reachable and exploitable in your environment and that compensating controls work.
MobilizeAssign the fix to the asset owner with a due date matched to the priority, then verify closure.

CWE References

Technical References

Frequently asked questions

CVE-2026-41082 is a high severity path traversal in Ocaml Opam with a CVSS score of 7.3. Apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Related CVEs

All Ocaml CVEs in 2026
Your next credential

Earn your free CTEM certification.

Learn to scope, prioritize, validate and mobilize fixes for CVEs like CVE-2026-41082 with a free CTEM certification.

Free to takePublicly verifiable

Beginner / Practitioner / Program Leader

Explore certifications