5

CVE-2022-35954: actions toolkit Command Injection

CVSS: 5.0v3.1MediumModified
AliasesGHSA-7r3h-m5j6-3q42
Published 13-08-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-35954 is a medium (CVSS 5.0) Command Injection vulnerability in actions toolkit. EPSS estimates a 0.68% chance of exploitation in the next 30 days, higher than 51.7% of scored vulnerabilities.

Overall risk
20/100
0100
Low · default modelHow is this calculated?
CVSS score
5.0/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.68%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 13-08-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

Description

The GitHub Actions ToolKit provides a set of packages to make creating actions easier. The `core.exportVariable` function uses a well known delimiter that attackers can use to break out of that specific variable and assign values to other arbitrary variables. Workflows that write untrusted values to the `GITHUB_ENV` file may cause the path or other environment variables to be modified without the intention of the workflow or action author. Users should upgrade to `@actions/core v1.9.1`. If you are unable to upgrade the `@actions/core` package, you can modify your action to ensure that any user input does not contain the delimiter `_GitHubActionsFileCommandDelimeter_` before calling `core.exportVariable`.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.68%

Chance of exploitation in the next 30 days

Percentile

52%

Versus all other CVEs

30-day change

+0.01 pp

From 0.67% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.68%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

@actions1 product
  • core< 1.9.1
Actions1 product
Github1 product

3 vendors · 3 products

References

4 links