CVE-2026-82481

Directory Traversal Vulnerability in Mirage CoHTTP Before 6.3.0

Published Aug 29, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
The cohttp package before 6.3.0 for OCaml allows directory traversal.

Analysis

AI-generated

Technical impact

The cohttp package for OCaml, prior to version 6.3.0, contains a directory traversal vulnerability rooted in CWE‑180. An attacker through crafted input can cause the server to read files outside the intended directory, potentially exposing sensitive data such as configuration files, logs, or private source code.

Affected Systems

Mirage’s cohttp library, used in OCaml projects, is affected in all releases before 6.3.0. No other vendor or product is listed. If a system incorporates an older cohttp dependency, it is vulnerable.

Risk and Exploitability

The CVSS score is 8.7, indicating high severity, although no EPSS score is available and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is remote: an attacker sends a request that contains a path containing ".." or other traversal sequences. If the application exposes cohttp to unauthenticated users, the attacker may read arbitrary files; if authentication is required, the risk is still high but mitigated to the extent that the attacker has valid credentials. The lack of exploitation data suggests that the vulnerability may not be widely used yet, but its high severity warrants immediate action.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade cohttp to version 6.3.0 or later.
  • Disallow or restrict any paths that may be exposed via cohttp if an upgrade is postponed.
  • Validate and sanitize all request paths, rejecting any that contain traversal sequences such as "..".

Generated by OpenCVE AI on August 29, 2026 at 16:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mirage
Mirage cohttp
Vendors & Products Mirage
Mirage cohttp
Type Values Removed Values Added
Title Directory Traversal Vulnerability in Mirage CoHTTP Before 6.3.0
Type Values Removed Values Added
Description The cohttp package before 6.3.0 for OCaml allows directory traversal.
Weaknesses CWE-180
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/AU:Y/R:A/V:D/RE:M'}

Weaknesses
  • CWE-180

    Incorrect Behavior Order: Validate Before Canonicalize

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 1, 2026, 12:29 PM
Reserved
Aug 29, 2026, 2:43 PM
Status
Deferred
Published
Aug 29, 2026, 3:17 PM
Modified
Sep 1, 2026, 1:20 PM