5

CVE-2022-35954: Delimiter injection vulnerability in @actions/core exportVariable

Modified
AliasesGHSA-7r3h-m5j6-3q42
Published 13-08-2022Last modified 23-04-2025

Vulnerability summary

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

Priority
Routine

Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.0/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.70%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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.70%

Chance of exploitation in the next 30 days

Percentile

55%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.70% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

@actions1 product
  • core< 1.9.1
Actions1 product
Github1 product

3 vendors · 3 products

References

4 links