{"id":"GHSA-pxq6-2prw-chj9","revision":"35729b08c7054ba5aaea163976da3123","records":[{"revision":"35729b08c7054ba5aaea163976da3123","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-pxq6-2prw-chj9","aliases":["CVE-2026-33997","GO-2026-4883"],"title":"Moby has an Off-by-one error in its plugin privilege validation","description":"## Summary\n\nA security vulnerability has been detected that allows [plugins](https://docs.docker.com/engine/extend/legacy_plugins/) privilege validation to be bypassed during `docker plugin install`. Due to an error in the daemon's privilege comparison logic, the daemon may incorrectly accept a privilege set that differs from the one approved by the user.\n\nPlugins that request exactly one privilege are also affected, because no comparison is performed at all.\n\n## Impact\n\n**If plugins are not in use, there is no impact.**\n\nWhen a plugin is installed, the daemon computes the privileges required by the plugin's configuration and compares them with the privileges approved during installation. A malicious plugin can exploit this bug so that the daemon accepts privileges that differ from what was intended to be approved.\n\nAnyone who depends on the plugin installation approval flow as a meaningful security boundary is potentially impacted.\n\nDepending on the privilege set involved, this may include highly sensitive plugin permissions such as broad device access.\n\n**For consideration: exploitation still requires a plugin to be installed from a malicious source, and Docker plugins are relatively uncommon. Docker Desktop also does not support plugins.**\n\n## Workarounds\n\nIf unable to update immediately:\n- Do not install plugins from untrusted sources\n- Carefully review all privileges requested during `docker plugin install`\n- Restrict access to the Docker daemon to trusted parties, following the principle of least privilege\n- Avoid relying on plugin privilege approval as the only control boundary for sensitive environments\n\n## Credits\n\n- Reported by Cody (c@wormhole.guru, PGP 0x9FA5B73E)","state":0,"publishedAt":"2026-03-27T17:38:09+00:00","modifiedAt":"2026-09-10T03:50:40.5712937+00:00","affected":[{"ecosystem":"Go","name":"github.com/docker/docker","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/moby/moby/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.0.0-beta.8"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/moby/moby","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/moby/moby/security/advisories/GHSA-pxq6-2prw-chj9","https://nvd.nist.gov/vuln/detail/CVE-2026-33997","https://github.com/moby/moby/commit/f4d6f25bf0c3fa12d4968320a45685947756a22a","https://docs.docker.com/engine/extend/legacy_plugins","https://github.com/moby/moby","https://github.com/moby/moby/releases/tag/docker-v29.3.1"],"sourceUrl":"https://github.com/advisories/GHSA-pxq6-2prw-chj9","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-pxq6-2prw-chj9","identifiers":["GHSA-pxq6-2prw-chj9","CVE-2026-33997","GO-2026-4883"]},"retained":false,"historicalAffected":[]}],"coverage":[]}