# Docker supplementary group permissions not set up properly, allowing attackers to bypass primary group restrictions in github.com/docker/docker

Advisory record · `GHSA-rc4r-wh2q-q6c4`

- **Identifiers:** `GHSA-rc4r-wh2q-q6c4` · `CVE-2022-36109` · `GO-2022-0985`
- **State:** Confirmed
- **Severity:** CVSS 5.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-863](https://cwe.mitre.org/data/definitions/863.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 21 Aug 2024
- **Updated:** 3 Mar 2026
- **Reviewed by a person:** No

[Published by the maintainers](https://github.com/moby/moby/security/advisories/GHSA-rc4r-wh2q-q6c4) · not yet reviewed by GitHub. The moby/moby maintainers published this as a GitHub repository advisory; GitHub’s reviewed advisory replaces it here when it arrives.

Published by the moby/moby maintainers at 21 Aug 2024, 16:03 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/docker/docker` (Go): affected `<20.10.18+incompatible`; fixed in `20.10.18+incompatible`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Go module github.com/docker/docker is vulnerable before 20.10.18+incompatible. The source gives few details beyond the title, which says supplementary group permissions are not set up properly, so an attacker may be able to bypass primary group restrictions. Upgrade github.com/docker/docker to 20.10.18+incompatible or later.

Written 10 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.3 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.011, the 65th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 9 Sept 2022, 10:04 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/moby/moby/security/advisories/GHSA-rc4r-wh2q-q6c4)

## Sources

- [GitHub Advisory Database: GHSA-rc4r-wh2q-q6c4](https://github.com/advisories/GHSA-rc4r-wh2q-q6c4)
- [OSV: GHSA-rc4r-wh2q-q6c4](https://osv.dev/vulnerability/GHSA-rc4r-wh2q-q6c4)
- <https://github.com/moby/moby/security/advisories/GHSA-rc4r-wh2q-q6c4>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-36109>
- <https://github.com/moby/moby/commit/de7af816e76a7fd3fbf06bffa6832959289fba32>
- <https://github.com/moby/moby/releases/tag/v20.10.18>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O7JL2QA3RB732MLJ3RMUXB3IB7AA22YU>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RQQ4E3JBXVR3VK5FIZVJ3QS2TAOOXXTQ>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-rc4r-wh2q-q6c4>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-rc4r-wh2q-q6c4/>. Everything for agents: <https://agentprime.io/llms.txt>.
