Live threats

All CVEs / Toolkit Project

CVE-2020-15228Toolkit Project Toolkit

Medium 5.0

Priority
30
CVSS 3.1
5.0
EPSS
1.5%
probability of exploitation in 30 days · percentile 74
Auth required
Yes
Published
Oct 1, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-77
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Toolkit.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @actions/core < 1.2.6 1.2.6 npm install @actions/core@1.2.6

Per OSV / GitHub Advisories (GHSA-mfwh-5m23-j46w). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
toolkit_projecttoolkit< 1.2.6

Official sources

References

Links published by the sources. Open them with care.