CVE-2026-45390: n/a
OCaml-tar versions before 3.4.0 contain a directory traversal vulnerability where crafted archive entries with '../' path segments allow extraction outside the intended directory. Unlike standard tar implementations that reject such archives, ocaml-tar decompresses them, enabling arbitrary file writes outside the extraction directory. This vulnerability can be exploited by an attacker who can supply a malicious tar archive to a decompression endpoint.
AI Analysis
Technical Summary
CVE-2026-45390 describes a directory traversal vulnerability (CWE-22) in OCaml-tar prior to version 3.4.0. The issue arises because ocaml-tar does not properly sanitize archive entry names containing '../' path segments, allowing files to be written outside the target extraction directory. This behavior differs from the standard tar(1) utility, which rejects such archives. The vulnerability has a CVSS v3.1 base score of 9.1, indicating critical severity with network attack vector, low attack complexity, no privileges or user interaction required, and high confidentiality and integrity impact. No official patch or remediation level is currently documented, and no known exploits in the wild have been reported.
Potential Impact
An attacker able to provide a crafted tar archive to a decompression endpoint using vulnerable OCaml-tar versions can write arbitrary files outside the intended extraction directory. This can lead to unauthorized file modification or creation, potentially compromising system integrity and confidentiality. The vulnerability does not affect availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid decompressing untrusted tar archives with vulnerable OCaml-tar versions or implement additional validation to reject archives containing '../' path segments in entry names.
CVE-2026-45390: n/a
Description
OCaml-tar versions before 3.4.0 contain a directory traversal vulnerability where crafted archive entries with '../' path segments allow extraction outside the intended directory. Unlike standard tar implementations that reject such archives, ocaml-tar decompresses them, enabling arbitrary file writes outside the extraction directory. This vulnerability can be exploited by an attacker who can supply a malicious tar archive to a decompression endpoint.
CVSS v3.1
Score 9.1critical
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-45390 describes a directory traversal vulnerability (CWE-22) in OCaml-tar prior to version 3.4.0. The issue arises because ocaml-tar does not properly sanitize archive entry names containing '../' path segments, allowing files to be written outside the target extraction directory. This behavior differs from the standard tar(1) utility, which rejects such archives. The vulnerability has a CVSS v3.1 base score of 9.1, indicating critical severity with network attack vector, low attack complexity, no privileges or user interaction required, and high confidentiality and integrity impact. No official patch or remediation level is currently documented, and no known exploits in the wild have been reported.
Potential Impact
An attacker able to provide a crafted tar archive to a decompression endpoint using vulnerable OCaml-tar versions can write arbitrary files outside the intended extraction directory. This can lead to unauthorized file modification or creation, potentially compromising system integrity and confidentiality. The vulnerability does not affect availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid decompressing untrusted tar archives with vulnerable OCaml-tar versions or implement additional validation to reject archives containing '../' path segments in entry names.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-05-12T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3052e10b89be6888827492
Added to database: 06/15/2026, 19:30:41 UTC
Last enriched: 06/23/2026, 15:31:32 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 48
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.