CVE-2020-15228
published low CVSS 3.1 · 3.5Environment Variable Injection in GitHub Actions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| actions | — | toolkit< 1.2.6 | Affected | Not stated | GitHub_M |
Description
In the `@actions/core` npm module before version 1.2.6,`addPath` and `exportVariable` functions communicate with the Actions Runner over stdout by generating a string in a specific format. Workflows that log untrusted data to stdout may invoke these commands, resulting in the path or environment variables being modified without the intention of the workflow or action author. The runner will release an update that disables the `set-env` and `add-path` workflow commands in the near future. For now, users should upgrade to `@actions/core v1.2.6` or later, and replace any instance of the `set-env` or `add-path` commands in their workflows with the new Environment File Syntax. Workflows and actions using the old commands or older versions of the toolkit will start to warn, then error out during workflow execution.
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
- 3.5 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| actions | toolkit | < 1.2.6 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-20 CWE-20 Improper Input Validation
References
2Provider assertions
2GitHub_M · cna
Environment Variable Injection in GitHub Actions
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2429b748028dc152a2a08b62f8714bafe7599b9711bf6bb72a920b23319561de
- Ingested
- 23 Sep 2026, 07:48:51 UTC
- Source record
- Official CVE record