CVE-2026-45390: n/a
OCaml-tar versions prior to 3.4.0 contain a vulnerability where crafted tar archives with '../' path segments in filenames allow extraction outside the intended directory. Unlike the standard tar utility which blocks such extractions, ocaml-tar decompresses these files, enabling arbitrary file writes outside the target directory. This can be exploited by an attacker able to provide malicious tar archives to a decompression endpoint.
AI Analysis
Technical Summary
The vulnerability in OCaml-tar before version 3.4.0 arises from improper handling of path traversal sequences ('../') in archive filenames. This flaw permits an attacker to craft a tar archive that, when decompressed by ocaml-tar, writes files outside the designated extraction directory, potentially overwriting arbitrary files on the filesystem. The standard tar(1) utility prevents this behavior, but ocaml-tar does not, leading to a directory traversal and arbitrary file write vulnerability. No patch or remediation information is currently available.
Potential Impact
An attacker who can supply a malicious tar archive to an ocaml-tar decompression endpoint can write files to arbitrary locations outside the intended extraction directory. This could lead to overwriting critical files, potentially resulting in code execution, privilege escalation, or denial of service depending on the context of use.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid decompressing untrusted tar archives with vulnerable versions of ocaml-tar. Implement additional validation or sandboxing around decompression operations to prevent exploitation.
CVE-2026-45390: n/a
Description
OCaml-tar versions prior to 3.4.0 contain a vulnerability where crafted tar archives with '../' path segments in filenames allow extraction outside the intended directory. Unlike the standard tar utility which blocks such extractions, ocaml-tar decompresses these files, enabling arbitrary file writes outside the target directory. This can be exploited by an attacker able to provide malicious tar archives to a decompression endpoint.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in OCaml-tar before version 3.4.0 arises from improper handling of path traversal sequences ('../') in archive filenames. This flaw permits an attacker to craft a tar archive that, when decompressed by ocaml-tar, writes files outside the designated extraction directory, potentially overwriting arbitrary files on the filesystem. The standard tar(1) utility prevents this behavior, but ocaml-tar does not, leading to a directory traversal and arbitrary file write vulnerability. No patch or remediation information is currently available.
Potential Impact
An attacker who can supply a malicious tar archive to an ocaml-tar decompression endpoint can write files to arbitrary locations outside the intended extraction directory. This could lead to overwriting critical files, potentially resulting in code execution, privilege escalation, or denial of service depending on the context of use.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid decompressing untrusted tar archives with vulnerable versions of ocaml-tar. Implement additional validation or sandboxing around decompression operations to prevent exploitation.
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: 6/15/2026, 7:30:41 PM
Last enriched: 6/15/2026, 8:01:58 PM
Last updated: 6/16/2026, 4:58:58 AM
Views: 5
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.