Security mailing lists by PureSourceCode

CVE-2022-39321

CRITICAL 9.9CVSS 3.1

Docker Command Escaping in the GitHub Actions Runner

GitHub Actions Runner is the application that runs a job from a GitHub Actions workflow. The actions runner invokes the docker cli directly in order to run job containers, service containers, or container actions. A bug in the logic for how the environment is encoded into these docker commands was discovered in versions prior to 2.296.2, 2.293.1, 2.289.4, 2.285.2, and 2.283.4 that allows an input to escape the environment variable and modify that docker command invocation directly. Jobs that use container actions, job containers, or service containers alongside untrusted user inputs in environment variables may be vulnerable. The Actions Runner has been patched, both on github.com and hotfixes for GHES and GHAE customers in versions 2.296.2, 2.293.1, 2.289.4, 2.285.2, and 2.283.4. GHES and GHAE customers may want to patch their instance in order to have their runners automatically upgrade to these new runner versions. As a workaround, users may consider removing any container actions, job containers, or service containers from their jobs until they are able to upgrade their runner versions.

Published
25 Oct 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-78
Also known as
GHSA-2c6m-6gqh-6qg3
Sources
NVDJSONOSV GHSA-2c6m-6gqh-6qg3JSON

Scores

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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD github runner
cpe:2.3:a:github:runner:*:*:*:*:*:*:*:*
< 2.283.4 2.283.4
NVD github runner
cpe:2.3:a:github:runner:*:*:*:*:*:*:*:*
>= 2.284.0, < 2.285.2 2.285.2
NVD github runner
cpe:2.3:a:github:runner:*:*:*:*:*:*:*:*
>= 2.286.0, < 2.289.4 2.289.4
NVD github runner
cpe:2.3:a:github:runner:*:*:*:*:*:*:*:*
>= 2.290.0, < 2.293.1 2.293.1
NVD github runner
cpe:2.3:a:github:runner:*:*:*:*:*:*:*:*
>= 2.294.0, < 2.296.2 2.296.2
OSV GitHub Actions actions/runner >= 2.294.0, < 2.296.2 2.296.2
OSV GitHub Actions actions/runner >= 2.290.0, < 2.293.1 2.293.1
OSV GitHub Actions actions/runner >= 2.286.0, < 2.289.4 2.289.4
OSV GitHub Actions actions/runner >= 2.284.0, < 2.285.2 2.285.2
OSV GitHub Actions actions/runner < 2.283.4 2.283.4

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 25 Oct 2022)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 25 Oct 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.