CVE-2026-59960
published high CVSS 3.1 · 7.5Argos JavaScript: CI Branch Name OS Command Injection in @argos-ci/core
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| argos-ci | — | argos-javascript< 6.2.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| argos-ci | argos-javascript | < 6.2.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
4- https://github.com/argos-ci/argos-javascript/commit/8355f3af3be3f4fe361d58a688d21535cf672717
- 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-6283
Provider assertions
2GitHub_M · cna
Argos JavaScript: CI Branch Name OS Command Injection in @argos-ci/core
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 25439df72d27ebe362532d2013624c2ec440a744a6a34a5b20a708527fffabcb
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record