CVE-2026-77156
published medium CVSS 4.0 · 6.3ast-cli: Path traversal in tar extraction on Linux/macOS allows writes outside the install directory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Checkmarx | — | github.com/checkmarx/ast-cli0 to < 2.3.51 (affected · semver) · 2.3.51 (unaffected · semver) · Other versions: unaffected · Platforms: MacOS, Linux | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- Checkmarx · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.4 | medium | Checkmarx · cna | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Checkmarx | github.com/checkmarx/ast-cli | 0 to < 2.3.51 (affected · semver)2.3.51 (unaffected · semver)Default: unaffected | Checkmarx · cna |
Weaknesses
1- CWE-22
References
2Provider assertions
2Checkmarx · cna
ast-cli: Path traversal in tar extraction on Linux/macOS allows writes outside the install directory
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e8294a9c585af3f73443044be29969bae9f921c49e14412d6d3029180d64d26e
- Ingested
- 02 Nov 2026, 12:25:47 UTC
- Source record
- Official CVE record