CVE-2020-15228

LOW

@actions/core <1.2.6 - Info Disclosure

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2020-15228. PoCs published by guettli.

AI-analyzed exploit summary This repository provides a Python script to fix CVE-2020-15228 by replacing deprecated `::set-env` commands in GitHub Actions workflow files with the recommended `echo ... >> $GITHUB_ENV` syntax. It scans `.sh` and `.yml` files for vulnerable patterns and updates them automatically.

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.

Exploits (1)

nomisec WORKING POC 7 stars
by guettli · poc
https://github.com/guettli/fix-CVE-2020-15228

This repository provides a Python script to fix CVE-2020-15228 by replacing deprecated `::set-env` commands in GitHub Actions workflow files with the recommended `echo ... >> $GITHUB_ENV` syntax. It scans `.sh` and `.yml` files for vulnerable patterns and updates them automatically.

Classification
Working Poc 100%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: GitHub Actions workflow files
No auth needed
Prerequisites: Access to GitHub Actions workflow files
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2
Core References
Exploit, Third Party Advisory, VDB Entry x_refsource_misc
http://packetstormsecurity.com/files/159794/GitHub-Widespread-Injection.html

Scores

CVSS v3 3.5
EPSS 0.0061
EPSS Percentile 70.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N

Details

CWE
CWE-20 CWE-77
Status published
Products (2)
actions/core 0 - 1.2.6npm
toolkit_project/toolkit < 1.2.6
Published Oct 01, 2020
Tracked Since Feb 18, 2026