Home / actions / runner / CVE-2022-39321
CVE-2022-39321: is it exploited, and which versions of actions runner are affected and fixed?
CVE-2022-39321 is an OS command injection vulnerability in actions runner. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: actions/runner from 2.294.0 before 2.296.2, actions/runner from 2.290.0 before 2.293.1, actions/runner from 2.286.0 before 2.289.4 and 2 more (GitHub advisory GHSA-2c6m-6gqh-6qg3). Fixed in 2.296.2, 2.293.1, 2.289.4, 2.285.2 and 1 more (GitHub advisory GHSA-2c6m-6gqh-6qg3). Severity: High (8.8, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:44 UTC.
What is CVE-2022-39321?
GitHub Actions Runner vulnerable to Docker Command Escaping
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.
From the CVE record by GitHub_M, last updated April 23, 2025, 16:44 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| 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 |
As the CVE record by GitHub_M states it, last updated April 23, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| GitHub Actions | actions/runner | >= 2.294.0, < 2.296.2 | 2.296.2 | GHSA-2c6m-6gqh-6qg3 |
| GitHub Actions | actions/runner | >= 2.290.0, < 2.293.1 | 2.293.1 | GHSA-2c6m-6gqh-6qg3 |
| GitHub Actions | actions/runner | >= 2.286.0, < 2.289.4 | 2.289.4 | GHSA-2c6m-6gqh-6qg3 |
| GitHub Actions | actions/runner | >= 2.284.0, < 2.285.2 | 2.285.2 | GHSA-2c6m-6gqh-6qg3 |
| GitHub Actions | actions/runner | < 2.283.4 | 2.283.4 | GHSA-2c6m-6gqh-6qg3 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 25, 2022. Summary: Docker Command Escaping in the GitHub Actions Runner.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| github | runner | before 2.283.4 | application |
| github | runner | from 2.284.0 before 2.285.2 | application |
| github | runner | from 2.286.0 before 2.289.4 | application |
| github | runner | from 2.290.0 before 2.293.1 | application |
| github | runner | from 2.294.0 before 2.296.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:58 UTC.
How severe is CVE-2022-39321?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| Critical 9.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-39321 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 23, 2025)
- EPSS
- 2.01% probability of exploitation activity in the next 30 days, percentile 81.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- https://github.com/actions/runner/security/advisories/GHSA-2c6m-6gqh-6qg3
- https://github.com/actions/runner/pull/2107
- https://github.com/actions/runner/pull/2108
When was it published, and where is the official record?
- Reserved
- September 2, 2022
- Published
- October 25, 2022, 00:00 UTC
- CVE record updated
- April 23, 2025, 16:44 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:58 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:44 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2022-39321
Is CVE-2022-39321 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 2.01% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of actions runner are affected by CVE-2022-39321?
actions/runner from 2.294.0 before 2.296.2, actions/runner from 2.290.0 before 2.293.1, actions/runner from 2.286.0 before 2.289.4, actions/runner from 2.284.0 before 2.285.2 and actions/runner before 2.283.4, per the GitHub advisory GHSA-2c6m-6gqh-6qg3. The tables above give every range the sources list.
Which version fixes CVE-2022-39321?
2.296.2, 2.293.1, 2.289.4, 2.285.2 and 2.283.4, per the GitHub advisory GHSA-2c6m-6gqh-6qg3. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-39321?
High (8.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2022-39321?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.