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
History

Mon, 15 Jun 2026 19:30:00 +0000

Type Values Removed Values Added
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

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-06-15T18:52:21.012Z

Reserved: 2026-05-12T00:00:00.000Z

Link: CVE-2026-45390

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-15T20:16:28.587

Modified: 2026-06-15T20:16:28.587

Link: CVE-2026-45390

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.