Skip to main content
← All vulnerabilities
CVE-2026-59960GHSA-4X45-GXVP-6283

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.2.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • argos-ci argos-javascript

    fixed in 6.2.1

  • @argos-ci/corenpm

    fixed in 6.2.1

References 4

GitHub · argos-ci/argos-javascript