Skip to main content

CVE-2026-77156: CWE-22 in Checkmarx github.com/checkmarx/ast-cli

0
Medium
VulnerabilityCVE-2026-77156cvecve-2026-77156cwe-22
Published: 10/22/2026 (10/22/2026, 17:44:34 UTC)
Source: CVE Database V5
Vendor/Project: Checkmarx
Product: github.com/checkmarx/ast-cli

Description

CVE-2026-77156 is a path traversal vulnerability in the tar extraction logic of Checkmarx's ast-cli tool on Linux and macOS. It allows malicious tar archives with absolute or traversal paths to write files outside the intended install directory. Windows versions are not affected due to built-in path validation. Exploitation requires compromising the archive download source. The issue is fixed by validating extraction paths to ensure they remain within the working directory.

CVSS v3.1

Score 6.4medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

Affected software

Checkmarx

github.com/checkmarx/ast-cli

Affected versions
>=0 <2.3.51
GitHub Actionsmore threats →cve
github.com/checkmarx/ast-cli
pkg:github/github.com/checkmarx/ast-cli
Affected versions
>=0 <2.3.51

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/22/2026, 18:15:29 UTC

Technical Analysis

The vulnerability in Checkmarx's ast-cli (github.com/checkmarx/ast-cli) arises from incomplete validation of extracted archive entry paths during tar extraction on Linux and macOS platforms. This flaw allows a maliciously crafted tar archive containing absolute or directory traversal paths to write files outside the designated installation directory. The Windows extractor is not vulnerable as it performs proper path validation. Exploitation requires an attacker to substitute the archive served at download.checkmarx.com, enabling arbitrary and potentially executable file writes to arbitrary filesystem locations. The fix involves validating that each extracted entry's destination path resolves within the working directory and rejecting absolute paths.

Potential Impact

Successful exploitation could allow an attacker who can replace the archive at the download source to write arbitrary files, including executable ones, to arbitrary filesystem paths outside the intended installation directory. This can lead to code execution, system compromise, and integrity violations. The vulnerability affects Linux and macOS installations of ast-cli but not Windows builds.

Mitigation Recommendations

A fix is available that validates extracted archive entry paths to ensure they reside within the working directory and rejects absolute paths. Users should upgrade to version 2.3.51 or later of ast-cli where this issue is resolved. Since this is not a cloud service, remediation requires applying the updated software version. There are no known exploits in the wild at this time.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Checkmarx
Date Reserved
2026-08-20T14:34:04.801Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ada4f7b4d27ba8daa6dce34

Added to database: 10/22/2026, 18:01:31 UTC

Last enriched: 10/22/2026, 18:15:29 UTC

Last updated: 10/22/2026, 18:16:11 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses