---
id: CVE-2026-77156
title: >-
  ast-cli: Path traversal in tar extraction on Linux/macOS allows writes outside
  the install directory
summary: >-
  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 absol…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-22
vendor: Checkmarx
product: github.com/checkmarx/ast-cli
affected:
  - github.com/checkmarx/ast-cli < 2.3.51
published: '2026-10-22'
updated: '2026-10-22'
sourceUpdated: '2026-10-22T17:49:25.326Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-77156'
references:
  - url: 'https://github.com/Checkmarx/ast-cli'
  - url: >-
      https://github.com/Checkmarx/ast-cli/security/advisories/GHSA-9gff-3q53-q75x
tags:
  - cve.org
ingestedAt: '2026-10-22T22:00:50.359Z'
---

## Overview

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

- `github.com/checkmarx/ast-cli < 2.3.51`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
