Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/argos-ci/argos-javascript/commit/8355f3af3be3f4fe361d58a688d2
- https://github.com/argos-ci/argos-javascript/pull/319
- https://github.com/argos-ci/argos-javascript/releases/tag/@argos-ci/[email protected]
- https://github.com/argos-ci/argos-javascript/security/advisories/GHSA-4x45-gxvp-
FAQ
What is CVE-2026-59960?
CVE-2026-59960 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 throu...
How severe is CVE-2026-59960?
CVE-2026-59960 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-59960?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.