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.2%top 89%

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

0
High
VulnerabilityCVE-2026-41082cvecve-2026-41082cwe-24
Published: 04/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

Affected software

GitHub Actionsmore threats →ai
ocaml/opam
pkg:github/ocaml/opam
Affected versions
<2.5.1=0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 08:59:34 UTC

Technical Analysis

The vulnerability CVE-2026-41082 affects OCaml opam prior to version 2.5.1. The issue arises because the .install field in opam packages can include '../' sequences, enabling path traversal to parent directories. This flaw can be exploited to write files outside the designated installation directory, potentially leading to integrity and availability impacts. The CVSS 3.1 base score is 7.3, indicating a high severity with local attack vector, low attack complexity, no privileges required, no user interaction, and impacts including low confidentiality, high integrity, and low availability.

Potential Impact

An attacker who can control the .install field in an opam package can cause files to be written outside the intended directory structure, potentially overwriting or creating files in parent directories. This can compromise system integrity and availability. Confidentiality impact is low as the vulnerability primarily concerns file write paths.

Mitigation Recommendations

No official fix or patch is explicitly stated in the vendor advisory. Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-41082 for current remediation guidance. Until a fix is available, avoid installing untrusted opam packages or review .install fields for path traversal sequences before installation.

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
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-41082","vendor":"Red Hat"}]

Threat ID: 69e1241082d89c981fafb517

Added to database: 04/16/2026, 18:01:52 UTC

Last enriched: 07/16/2026, 08:59:34 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 127

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