Skip to content
Heist/ feed
Medium

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-77156

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-77156

github.com/checkmarx/ast-cli

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/checkmarx/ast-cli",
    "vendor": "Checkmarx",
    "product": "github.com/checkmarx/ast-cli",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "2.3.51",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "2.3.51",
        "versionType": "semver"
      }
    ],
    "platforms": [
      "MacOS",
      "Linux"
    ],
    "packageName": "github.com/checkmarx/ast-cli",
    "collectionURL": "https://golang.org/pkg",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-77156

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#50517 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement