Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-41082: CWE-24 Path Traversal: '../filedir' in OCaml opam

0
High
VulnerabilityCVE-2026-41082cvecve-2026-41082cwe-24
Published: Thu Apr 16 2026 (04/16/2026, 17:32:40 UTC)
Source: CVE Database V5
Vendor/Project: OCaml
Product: opam

Description

CVE-2026-41082 is a path traversal vulnerability in OCaml opam versions before 2. 5. 1. The issue arises from the . install field allowing use of '.. /' sequences to specify destination file paths that can escape the intended directory and reach parent directories. This can lead to unauthorized file writes outside the expected installation directory. The vulnerability has a high severity with a CVSS score of 7. 3. No official patch or remediation guidance is currently confirmed from the vendor.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/16/2026, 18:16:52 UTC

Technical Analysis

The vulnerability CVE-2026-41082 affects OCaml opam prior to version 2.5.1. It involves improper handling of the .install field in package definitions, where the use of '../' sequences in destination file paths enables path traversal. This allows an attacker to write files outside the intended directory hierarchy, potentially leading to unauthorized modification of files. The CVSS 3.1 base score is 7.3, reflecting a high severity with local attack vector, low attack complexity, no privileges required, no user interaction, and impacts on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation could allow an attacker with local access to write files to arbitrary locations on the filesystem, potentially overwriting critical files or placing malicious files outside the intended directory. This can lead to partial loss of confidentiality, high integrity impact, and low availability impact. No known exploits are reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 2.5.1, upgrading to version 2.5.1 or later (if available) is recommended once confirmed. Until then, avoid using untrusted .install fields that contain relative path sequences. Monitor official OCaml opam channels for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-04-16T17:32:39.584Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e1241082d89c981fafb517

Added to database: 4/16/2026, 6:01:52 PM

Last enriched: 4/16/2026, 6:16:52 PM

Last updated: 4/16/2026, 8:13:26 PM

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses