MediumGHSA-6m9p-4h64-m6vhCVE-2026-92542

Moby allows unprivileged local users to inject frames into encrypted Swarm overlay networks

Published 3 Dec 2026 · Updated 3 Dec 2026

Affected packages

Affected
<2.0.0-beta.25
Fixed in
2.0.0-beta.25
Update to the fixed version for your release line, for example:go get github.com/moby/moby/v2@v2.0.0-beta.25
Affected
<25.0.19-0.20260930191804-250d0dd1b699
Fixed in
25.0.19-0.20260930191804-250d0dd1b699
Update to the fixed version for your release line, for example:go get github.com/docker/docker@v25.0.19-0.20260930191804-250d0dd1b699
Affected
>=26.0.0-rc1 <=28.5.2
Fixed in
No fix released
Affected
<25.0.19-0.20260930191804-250d0dd1b699
Fixed in
25.0.19-0.20260930191804-250d0dd1b699
Update to the fixed version for your release line, for example:go get github.com/moby/moby@v25.0.19-0.20260930191804-250d0dd1b699
Affected
>=26.0.0-rc1 <=28.5.2
Fixed in
No fix released

We confirm your address first. See our privacy policy.

Which github.com/moby/moby/v2 does your project really install?

Drop your go.mod hereWe find the exact github.com/moby/moby/v2 version you install, even when another package pulls it in, and tell you if it’s affected and what to run. Free, no sign-up.

Works for private projects: the file is read in memory to run the scan and then dropped. Also reads other package files.

Public repo?

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

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

Is GHSA-6m9p-4h64-m6vh in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/moby/moby/v2, and gives you the command that fixes it.

More advisories for github.com/moby/moby/v2

  • LowCVE-2026-41568Race condition in 'docker cp' in github.com/docker/docker allows creation of arbitrary files · 25 Jun 2026
  • LowCVE-2026-41567Docker: 'PUT /containers/{id}/archive' executes container binary on the host in github.com/docker/docker · 25 Jun 2026
  • LowCVE-2026-42306Race condition in 'docker cp' in github.com/docker/docker allows bind mount redirection · 25 Jun 2026
  • HighCVE-2026-42306Docker: Race condition in docker cp allows bind mount redirection to host path · 18 May 2026
  • MediumCVE-2026-41568Docker: Race condition in docker cp allows creation of arbitrary empty files on the host via symlink swap · 18 May 2026
  • HighCVE-2026-41567Docker: `PUT /containers/{id}/archive` executes container binary on the host · 18 May 2026
All 11 advisories for github.com/moby/moby/v2

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.