Command Injection Vulnerability in Argos JavaScript SDK Affects CI Runners
CVE-2026-59960
7.5HIGH
What is CVE-2026-59960?
A command injection vulnerability has been identified in the Argos JavaScript SDK, allowing attacker-controlled branch or ref values from GITHUB_HEAD_REF or ARGOS_BRANCH to be executed in the CI environment. This occurs when hasRemoteContentAccess is set to false, allowing values to be interpolated into execSync() command strings executed by /bin/sh -c. Attackers can exploit this vulnerability to execute arbitrary commands during the Argos upload process, potentially exposing CI secrets, altering build artifacts, or compromising the CI runner. The vulnerability has been addressed in Argos core package version 6.2.1.
Affected Version(s)
argos-javascript < 6.2.1
