GHSA-pxq6-2prw-chj9

Suggest an improvement
Source
https://github.com/advisories/GHSA-pxq6-2prw-chj9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-pxq6-2prw-chj9/GHSA-pxq6-2prw-chj9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pxq6-2prw-chj9
Aliases
Downstream
Related
Published
2026-03-27T17:38:09Z
Modified
2026-04-02T21:26:09.030049077Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Moby has an Off-by-one error in its plugin privilege validation
Details

Summary

A security vulnerability has been detected that allows 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.

Plugins that request exactly one privilege are also affected, because no comparison is performed at all.

Impact

If plugins are not in use, there is no impact.

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

Anyone who depends on the plugin installation approval flow as a meaningful security boundary is potentially impacted.

Depending on the privilege set involved, this may include highly sensitive plugin permissions such as broad device access.

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.

Workarounds

If unable to update immediately: - Do not install plugins from untrusted sources - Carefully review all privileges requested during docker plugin install - Restrict access to the Docker daemon to trusted parties, following the principle of least privilege - Avoid relying on plugin privilege approval as the only control boundary for sensitive environments

Credits

  • Reported by Cody (c@wormhole.guru, PGP 0x9FA5B73E)
Database specific
{
    "cwe_ids": [
        "CWE-193"
    ],
    "github_reviewed_at": "2026-03-27T17:38:09Z",
    "nvd_published_at": "2026-03-31T03:15:57Z",
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

Go / github.com/docker/docker

Package

Name
github.com/docker/docker
View open source insights on deps.dev
Purl
pkg:golang/github.com/docker/docker

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Database specific

last_known_affected_version_range
"< 29.3.1"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-pxq6-2prw-chj9/GHSA-pxq6-2prw-chj9.json"

Go / github.com/moby/moby/v2

Package

Name
github.com/moby/moby/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/moby/moby/v2

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0-beta.8

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-pxq6-2prw-chj9/GHSA-pxq6-2prw-chj9.json"

Go / github.com/moby/moby

Package

Name
github.com/moby/moby
View open source insights on deps.dev
Purl
pkg:golang/github.com/moby/moby

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Database specific

last_known_affected_version_range
"< 29.3.1"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-pxq6-2prw-chj9/GHSA-pxq6-2prw-chj9.json"