CVE-2026-59960

published 14 Sep 2026 · updated 14 Sep 2026

Argos JavaScript: CI Branch Name OS Command Injection in @argos-ci/core

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

Argos JavaScript provides official Argos SDKs for JavaScript. Prior to Argos core package version 6.2.1, attacker-controlled CI branch or ref values from GITHUB_HEAD_REF or ARGOS_BRANCH can flow through config.branch and getMergeBaseCommitSha() when hasRemoteContentAccess is false. The gitFetch() and gitMergeBase() functions in packages/core/src/ci-environment/git.ts interpolate these values into execSync() command strings executed by /bin/sh -c, so shell metacharacters in a pull-request branch name can execute arbitrary commands with the Argos upload process privileges on the CI runner. Successful exploitation can expose CI secrets, alter build artifacts, or compromise the runner. This issue is fixed in Argos core package version 6.2.1.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
argos-ci<6.2.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-59960 severity on Zeptric[![CVE-2026-59960](https://zeptric.io/badge/cve/CVE-2026-59960.svg)](https://zeptric.io/cve/CVE-2026-59960)