CVE-2022-35954
CVE-2022-35954 is a medium-severity vulnerability in Github Toolkit with a CVSS 3.x base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-74.
Key facts
- Severity: Medium (CVSS 3.x base score 5.0)
- EPSS exploit prediction: 1% (54th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-74
- Affected product: Github Toolkit
- Published:
- Last modified:
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`.
Frequently asked questions
- What is CVE-2022-35954?
- 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`.
- How severe is CVE-2022-35954?
- CVE-2022-35954 has a CVSS 3.x base score of 5.0, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity low, and availability none.
- Is CVE-2022-35954 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (54th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-35954?
- CVE-2022-35954 affects Github Toolkit. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-35954?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2022-35954 published?
- CVE-2022-35954 was published on 2022-08-15 and last updated on 2026-06-17.
References
- https://github.com/actions/toolkit/commit/4beda9cbc00ba6eefe387a937c21087ccb8ee9df
- https://github.com/actions/toolkit/security/advisories/GHSA-7r3h-m5j6-3q42
Affected products (1)
- cpe:2.3:a:github:toolkit:*:*:*:*:*:node.js:*:*
Other CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities
- CVE-2026-122051 — Critical (CVSS 10.0): A flaw has been found in Edimax BR-6208AC 1.32. Affected by this vulnerability is an unknown functionality of the file…
- CVE-2026-120198 — Critical (CVSS 10.0): A vulnerability has been found in WAVLINK WL-WN530BE1-A V251117. Affected is the function con_check_read_finish of the…
- CVE-2026-114575 — Critical (CVSS 10.0): A flaw has been found in TOTOLINK A950RG 4.1.2cu.5268_B20221104. Affected by this issue is the function…
- CVE-2026-108918 — Critical (CVSS 10.0): A vulnerability was identified in Edimax BR-6208AC 1.32. Impacted is an unknown function of the file…
- CVE-2026-108917 — Critical (CVSS 10.0): A vulnerability was determined in Edimax BR-6208AC 1.32. This issue affects some unknown processing of the file…
- CVE-2026-105135 — Critical (CVSS 10.0): A vulnerability has been found in InternLM MindSearch 0.1.0. This issue affects the function ExecutionAction.run of the…
Browse all CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities →