9.9

CVE-2022-39321: GitHub Actions Runner vulnerable to Docker Command Escaping

Modified
Published 25-10-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-39321 is a critical (CVSS 9.9) vulnerability in actions runner. EPSS estimates a 2.01% chance of exploitation in the next 30 days, higher than 81.5% of scored vulnerabilities.

Priority
Routine

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

Source freshness unavailable

How is this decided?
CVSS score
9.9/10
010
Critical · v3.1 (NVD)
EPSS score
2.01%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 25-10-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

2.01%

Chance of exploitation in the next 30 days

Percentile

82%

Versus all other CVEs

30-day change

Increase +0.05 pp

From 1.96% 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
  • runner< 2.283.4 | ≥ 2.284.0, < 2.285.2 | ≥ 2.286.0, < 2.289.4 | ≥ 2.290.0, < 2.293.1 | ≥ 2.294.0, < 2.296.2
Github1 product
  • runner< 2.283.4 | ≥ 2.284.0, < 2.285.2 | ≥ 2.286.0, < 2.289.4 | ≥ 2.290.0, < 2.293.1 | ≥ 2.294.0, < 2.296.2

2 vendors · 2 products

References

3 links