CVE-2026-77156
JSON

6.3medium

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

Severity
6.3medium CVSS:4.0 by Checkmarx
Exploit likelihood
0.36% (higher than 31% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Checkmarx

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.

Affected

Product or packageVersionsReported by
github.com/checkmarx/ast-clibefore 2.3.51
Not affected: 2.3.51
CVE List

All scores

Checkmarx6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
Checkmarx6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-77156 changed 2026-11-02CVE Terms of Use
NVDCVE-2026-77156 changed 2026-11-02Public domain