GHSA-6m9p-4h64-m6vh

Suggest an improvement
Source
https://github.com/advisories/GHSA-6m9p-4h64-m6vh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-6m9p-4h64-m6vh/GHSA-6m9p-4h64-m6vh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6m9p-4h64-m6vh
Aliases
Published
2026-12-03T01:24:21Z
Modified
2026-12-03T01:30:03Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Moby allows unprivileged local users to inject frames into encrypted Swarm overlay networks
Details

The firewall rules which mark VXLAN datagrams for encryption indiscriminately match both authentic VXLAN datagrams sent from the kernel and forged datagrams sent by user processes. Any packet sent from the host network namespace of a Linux Swarm node is encrypted with the overlay-network IPsec parameters which meets the following criteria:

  • UDP datagram
  • Destination port is the Swarm data-path port
  • Datagram starts with a VXLAN header for the VNI of an encrypted overlay network which any running container on the node is connected to

Impact

An unprivileged user on a Linux Swarm node can trivially inject forged Ethernet frames into an encrypted overlay network on another Linux Swarm node.

Patches

The issue is fixed in Docker Engine v29.8.2. Users should upgrade to v29.8.2 or later.

Workarounds

Block userspace processes from sending UDP packets to the Swarm data-path port.

iptables -I OUTPUT -p udp --dport "$(docker info --format '{{.Swarm.Cluster.DataPathPort}}')" -m owner --socket-exists -j DROP
Database specific
{
    "cwe_ids":  [
        "CWE-290",
        "CWE-441"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-12-03T01:24:21Z",
    "nvd_published_at":  "2026-10-07T17:17:02Z",
    "severity":  "MODERATE"
}
References

Affected packages

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
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.0-beta.25

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-6m9p-4h64-m6vh/GHSA-6m9p-4h64-m6vh.json"
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
0 Unknown introduced version / All previous versions are affected
Fixed
25.0.19-0.20260930191804-250d0dd1b699

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-6m9p-4h64-m6vh/GHSA-6m9p-4h64-m6vh.json"
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
26.0.0-rc1
Last Affected
28.5.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-6m9p-4h64-m6vh/GHSA-6m9p-4h64-m6vh.json"
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
0 Unknown introduced version / All previous versions are affected
Fixed
25.0.19-0.20260930191804-250d0dd1b699

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-6m9p-4h64-m6vh/GHSA-6m9p-4h64-m6vh.json"
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
26.0.0-rc1
Last Affected
28.5.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-6m9p-4h64-m6vh/GHSA-6m9p-4h64-m6vh.json"