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…
EPSS 0.0%top 99%

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

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

CVSS v3.1

Score 7.3high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/24/2026, 16:00:28 UTC

Technical Analysis

This vulnerability in OCaml opam prior to version 2.5.1 involves improper validation of the .install field's destination filepath, which can include '../' sequences to traverse to parent directories. This CWE-24 path traversal flaw could allow an attacker with local access to write files outside the intended directory structure, potentially impacting confidentiality, integrity, and availability. The CVSS 3.1 vector indicates local attack vector, low complexity, no privileges required, no user interaction, unchanged scope, with low confidentiality impact, high integrity impact, and low availability impact.

Potential Impact

An attacker with local access can exploit this vulnerability to write files outside the designated directory by using '../' in the .install field. This can lead to unauthorized modification of files, potentially compromising system integrity and availability. Confidentiality impact is low, but integrity impact is high due to possible unauthorized file writes. Availability impact is low. No known exploits have been reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using untrusted .install files or restrict local access to trusted users only. Monitor official OCaml opam channels for updates regarding a patch or mitigation.

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/24/2026, 4:00:28 PM

Last updated: 6/2/2026, 6:51:45 AM

Views: 71

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