CVE-2026-59960 Argos JavaScript: CI Branch Name OS Command Injection in @argos-ci/core
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| argos-ci @argos-ci/core(npm) | < 6.2.1; <= 6.2.0 | 6.2.1 | Fixed |
| argos-ci argos-javascript | = < 6.2.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| argos-ci argos-javascript | = < 6.2.1 | No fix listed |
| argos-ci @argos-ci/core(npm) | <= 6.2.0 | No fix listed |
| argos-ci @argos-ci/core(npm) | < 6.2.1 | 6.2.1 |
References
- https://github.com/argos-ci/argos-javascript/security/advisories/GHSA-4x45-gxvp-6283 vendor-advisory
- https://github.com/argos-ci/argos-javascript/pull/319
- https://github.com/argos-ci/argos-javascript/commit/8355f3af3be3f4fe361d58a688d21535cf672717 patch
- https://github.com/argos-ci/argos-javascript/releases/tag/@argos-ci/core@6.2.1
- github.com
- github.com product
- ENISA EUVD EUVD-2026-77641 third-party-advisory