Security mailing lists by PureSourceCode

CVE-2022-35954

MEDIUM 5.0CVSS 3.1

@actions/core has Delimiter Injection Vulnerability in exportVariable

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.

Published
15 Aug 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-74CWE-77
Also known as
GHSA-7r3h-m5j6-3q42
Sources
NVDJSONOSV GHSA-7r3h-m5j6-3q42JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD github toolkit
cpe:2.3:a:github:toolkit:*:*:*:*:*:node.js:*:*
< 1.9.1 1.9.1
OSV npm @actions/core < 1.9.1 1.9.1

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 15 Aug 2022)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 18 Aug 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.