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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-10-25 · Modified: 2025-04-23
- Record: https://cvemate.com/vulnerability/CVE-2022-39321 · JSON: https://cvemate.com/vulnerability/CVE-2022-39321/json

## Description

```text
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.
```

## Signals

- CVSS: 9.9 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS: 2.007%, percentile 81.504%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

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

## 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>

---

Data as of 2026-12-05T07:50:05.504Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
