CVE-2026-77156

ast-cli: Path traversal in tar extraction on Linux/macOS allows writes outside the install directory

State
Published
Severity
6.3 Medium
Published
Oct 22, 2026
Updated
Oct 22, 2026
Reserved
Aug 20, 2026

Read the record on cve.org

Description

Incomplete validation of extracted archive entry paths in ast-cli's tar extraction logic on Linux and macOS (used when installing the Vorpal ASCA real-time engine and the SCA Resolver) would allow a malicious tar archive containing absolute or traversal path entries to write files outside the install directory. Windows builds were not affected, as the Windows extractor performs this path validation.

Exploitation required substituting the archive served at "download.checkmarx.com". An attacker able to compromise that server and replace the archive could write arbitrary, executable files to arbitrary filesystem paths via this path traversal.

Extraction now validates that each entry's destination path resolves within the working directory and rejects absolute paths.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:HCheckmarx
3.16.4 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:HCheckmarx

Weaknesses

Affected Products

ProductVersions
github.com/checkmarx/ast-cliCheckmarx
  • before 2.3.51Affected
  • 2.3.51Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.