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
Configurations
No configuration.
History
No history.
Information
Published : 2026-06-15 20:16
Updated : 2026-06-17 10:52
NVD link : CVE-2026-45390
Mitre link : CVE-2026-45390
CVE.ORG link : CVE-2026-45390
JSON object : View
Products Affected
No product.
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
