Arbitrary File Write Vulnerability in OCaml-tar by OCaml
CVE-2026-45390

9.1CRITICAL

Key Information:

Vendor

OCaml

Status
Vendor
CVE Published:
15 June 2026

What is CVE-2026-45390?

OCaml-tar, at versions before 3.4.0, is susceptible to an arbitrary file write vulnerability stemming from the mishandling of crafted archive names that include '../' path segments. Unlike traditional tar utilities that prevent such extractions, OCaml-tar permits these operations, allowing attackers to write files outside the intended extraction directory if they exploit a tar decompression endpoint. This misbehavior could potentially lead to significant security risks for systems utilizing this library.

References

CVSS V3.1

Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.