Skip to main content
Network Thinking Solutions Logo

CVE-2022-39321

GitHub Actions Runner vulnerable to Docker Command Escaping

All CVEs
CVE-2022-39321Published 10/25/2022

GitHub Actions Runner vulnerable to Docker Command Escaping

Vendor advisory
CVSS9.9Critical

Overview

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
10/25/2022
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
runner
github
< 2.283.4

Verify advisory

Source
runner
github
≥ 2.284.0, < 2.285.2

Verify advisory

Source
runner
github
≥ 2.286.0, < 2.289.4

Verify advisory

Source
runner
github
≥ 2.290.0, < 2.293.1

Verify advisory

Source
runner
github
≥ 2.294.0, < 2.296.2

Verify advisory

Source
runner
actions
< 2.283.4

Verify advisory

Source
runner
actions
>= 2.284.0, < 2.285.2

Verify advisory

Source
runner
actions
>= 2.286.0, < 2.289.4

Verify advisory

Source
runner
actions
>= 2.290.0, < 2.293.1

Verify advisory

Source
runner
actions
>= 2.294.0, < 2.296.2

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 9.9. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.