Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-45390 EUVD-2026-36766GHSA-x4gv-m4gg-cwm5

In OCaml-tar before 3.4.0, a crafted archive with ../ path segments in its name allows escaping the current working directory. This is not …

Published Jun 15, 2026 · Updated Jun 16, 2026 · Assigned by mitre

Description

In OCaml-tar before 3.4.0, a crafted archive with ../ path segments in its name allows escaping the current working directory. This is not desired behavior, and tar(1) rejects such extractions, but ocaml-tar decompresses it anyway. The impact is that it allows arbitrary file writes outside of the desired extraction directory (to an attacker that can reach a tar decompression endpoint).

References