# CVE-2020-15228: Environment Variable Injection in GitHub Actions

- Priority: **Routine**
- Reason: Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-10-01 · Modified: 2024-08-04
- Aliases: GHSA-mfwh-5m23-j46w
- Record: https://cvemate.com/vulnerability/CVE-2020-15228 · JSON: https://cvemate.com/vulnerability/CVE-2020-15228/json

## Description

```text
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.
```

## Signals

- CVSS: 5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
- EPSS: 1.488%, percentile 74.953%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- actions toolkit: \< 1.2.6
- @actions core (Npm): \< 1.2.6
- toolkit\_project toolkit: \< 1.2.6

## References

- <https://github.com/actions/toolkit/security/advisories/GHSA-mfwh-5m23-j46w>
- <http://packetstormsecurity.com/files/159794/GitHub-Widespread-Injection.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15228>
- <https://github.com/actions/toolkit>

---

Data as of 2026-12-05T08:15:53.220Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
