CVE-2022-39321
published high CVSS 3.1 · 8.8GitHub Actions Runner vulnerable to Docker Command Escaping
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| actions | — | 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 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| actions | runner | < 2.283.4 (affected)>= 2.284.0, < 2.285.2 (affected)>= 2.286.0, < 2.289.4 (affected)>= 2.290.0, < 2.293.1 (affected)>= 2.294.0, < 2.296.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
3Provider assertions
3GitHub_M · cna
GitHub Actions Runner vulnerable to Docker Command Escaping
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 48de0340696f58e2ac698951750e896fef3d528369ccd9a5425a7173e1a38e8f
- Ingested
- 23 Sep 2026, 08:02:02 UTC
- Source record
- Official CVE record