Home / actions / toolkit / CVE-2020-15228
CVE-2020-15228: is it exploited, and which versions of actions toolkit are affected and fixed?
CVE-2020-15228 is an improper input validation vulnerability in actions toolkit. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: @actions/core before 1.2.6 (GitHub advisory GHSA-mfwh-5m23-j46w). Fixed in 1.2.6 (GitHub advisory GHSA-mfwh-5m23-j46w). Severity: Low (3.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:07 UTC.
What is CVE-2020-15228?
Environment Variable Injection in GitHub Actions
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.
From the CVE record by GitHub_M, last updated August 4, 2024, 13:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| actions | toolkit | < 1.2.6 |
As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @actions/core | < 1.2.6 | 1.2.6 | GHSA-mfwh-5m23-j46w |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 19, 2021. Summary: Environment Variable Injection in GitHub Actions.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| toolkit project | toolkit | before 1.2.6 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:56 UTC.
How severe is CVE-2020-15228?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N | GitHub_M |
| Medium 5.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N | NVD |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-15228 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.49% probability of exploitation activity in the next 30 days, percentile 74.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
- CWE-77 Improper Neutralization of Special Elements used in a Command
Where are the vendor advisories and references?
- https://github.com/actions/toolkit/security/advisories/GHSA-mfwh-5m23-j46w x_refsource_CONFIRM
- http://packetstormsecurity.com/files/159794/GitHub-Widespread-Injection.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 25, 2020
- Published
- October 1, 2020, 17:25 UTC
- CVE record updated
- August 4, 2024, 13:08 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 02:56 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:07 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect toolkit?
- Jun 9, 2025CVE-2025-5890 actions toolkit: regular expression denial of service (ReDoS)
- Sep 2, 2024CVE-2024-42471 actions toolkit: path traversal (reading or writing files outside the intended folder)
- Aug 13, 2022CVE-2022-35954 actions toolkit: command injection
Questions about CVE-2020-15228
Is CVE-2020-15228 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 1.49% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of actions toolkit are affected by CVE-2020-15228?
@actions/core before 1.2.6, per the GitHub advisory GHSA-mfwh-5m23-j46w. The tables above give every range the sources list.
Which version fixes CVE-2020-15228?
1.2.6, per the GitHub advisory GHSA-mfwh-5m23-j46w. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-15228?
Low (3.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2020-15228?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.