CVE-2026-45390

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

Critical · published June 15, 2026

CVSS v3.1
9.1
EPSS
1%
Percentile
43.1
In the wild
Unconfirmed
What it is

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).

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00516 · 43.1th percentile
Published
2026-06-15T00:00Z
EPSS history
Timeline
  • 15 JUN 00:00Z
    In OCaml-tar before 3.4.0, a crafted archive with ../ path segments in its name allows escaping the current working directory
    cvelistv5