Arbitrary File Write Vulnerability in OCaml-tar by OCaml
CVE-2026-45390
9.1CRITICAL
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.
