BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2022-39321 in Github Runner

Critical 9.9

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 vers...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.9
EPSS2.0%
EPSS percentile82th
FixSee advisory

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Github 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

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-39321
BreachSpider IDBS-2022-GLOBAL-331478-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published2022-10-25
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-78: OS Command Injection

Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.

Related attack patterns (CAPEC)

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78

CAPEC-108 Command Line Execution through SQL Injection via CWE-78

CAPEC-6 Argument Injection via CWE-78

CAPEC-15 Command Delimiters via CWE-78

CAPEC-88 OS Command Injection via CWE-78

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A critical vulnerability in GitHub Actions Runner versions prior to 2.296.2, 2.293.1, 2.289.4, 2.285.2, and 2.283.4 allows for command injection due to improper encoding of environment variables into Docker commands.

An attacker with control over the environment variables passed to the GitHub Actions Runner can inject malicious commands into Docker invocations. This can lead to arbitrary code execution with the privileges of the GitHub Actions Runner.

Questions

What is CVE-2022-39321?

A critical vulnerability in GitHub Actions Runner versions prior to 2.296.2, 2.293.1, 2.289.4, 2.285.2, and 2.283.4 allows for command injection due to improper encoding of environment variables into Docker commands.

What is the CVSS score for CVE-2022-39321?

CVE-2022-39321 has CVSS 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 2.0%.

Is CVE-2022-39321 actively exploited?

No confirmed active exploitation of CVE-2022-39321 as of 2026-09-25.

How do I remediate CVE-2022-39321?

Priority: IMMEDIATE. Advisory: https://github.com/actions/runner/pull/2107

What systems are affected by CVE-2022-39321?

CVE-2022-39321 affects Github Runner.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Github","product":"Runner","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.