Description
The cohttp package before 6.3.0 for OCaml allows directory traversal.
Published: 2026-08-29
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Information disclosure
Action: Patch now
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 01 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 31 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
First Time appeared Mirage
Mirage cohttp
Vendors & Products Mirage
Mirage cohttp

Sat, 29 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Title Directory Traversal Vulnerability in Mirage CoHTTP Before 6.3.0

Sat, 29 Aug 2026 15:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-01T12:29:40.139Z

Reserved: 2026-08-29T14:43:52.512Z

Link: CVE-2026-82481

cve-icon Vulnrichment

Updated: 2026-09-01T12:29:34.871Z

cve-icon NVD

Status : Deferred

Published: 2026-08-29T15:17:55.487

Modified: 2026-09-01T13:20:02.967

Link: CVE-2026-82481

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T11:19:39Z

Weaknesses
  • CWE-180

    Incorrect Behavior Order: Validate Before Canonicalize