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 package | Versions | Reported by |
|---|---|---|
| github.com/checkmarx/ast-cli | before 2.3.51 Not affected: 2.3.51 | CVE List |
All scores
| Checkmarx | 6.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| Checkmarx | 6.3medium CVSS:4.0 | CVSS: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
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-77156 changed 2026-11-02 | CVE Terms of Use |
| NVD | CVE-2026-77156 changed 2026-11-02 | Public domain |