If you run Docker Swarm with --opt encrypted overlay networks on hosts that also run firewalld, a routine firewall-cmd --reload can leave those networks sending traffic in cleartext, with nothing in the logs. The moby project published this on 10 November 2026 as GHSA-6jhp-7446-hf7f (CVE-2026-115538), rated High with a CVSS v4 score of 7.0. It is fixed in Docker Engine 29.9.3.
This post walks through what breaks, how to tell in a few minutes whether a node is exposed, and what to do before and after the upgrade. Everything about the bug comes from the advisory. The check commands are ours: the advisory lists conditions, not commands, so treat them as a starting point and confirm on your own hosts.
What actually breaks
An encrypted overlay network wraps its VXLAN traffic (UDP port 4789 by default) in IPsec ESP. According to the advisory, that protection depends on two iptables rules that dockerd installs when the first local endpoint of the network is set up:
- a rule in the mangle
OUTPUTchain that marks outgoing VXLAN datagrams carrying the network's ID (VNI). Datagrams that are not marked leave the host in cleartext; - a rule at the top of the filter
INPUTchain that drops incoming VXLAN datagrams for that VNI unless they arrived over IPsec.
When firewalld is running, dockerd listens for firewalld's reload and start signals and re-creates its other rules (port publishing, bridge networks) afterwards. The overlay driver was never part of that handling, so these two encryption rules were the ones left out. The advisory lists three triggers:
firewall-cmd --reloadorfirewall-cmd --complete-reload, including when a configuration-management tool runs it for you;- stopping firewalld with
CleanupOnExit=yes, which is the default; - starting firewalld: a restart, a package upgrade, or firewalld coming up after dockerd.
Two things make this worse than an ordinary misconfiguration. First, dockerd does not log the loss. Second, the state persists until the network's last local endpoint is removed and a new one is added, or until dockerd restarts. The services keep working, which is exactly why nobody notices.
The impact, per the advisory: VXLAN traffic of an "encrypted" network is readable by anyone on the path between nodes, and a node accepts cleartext VXLAN tagged with that network's VNI, so someone who can send UDP to port 4789 can inject frames into the overlay.
Are you affected? Three conditions
A node is affected only when all of these hold:
- It is a Swarm member with at least one task or container attached to an encrypted overlay network.
- It runs Docker Engine older than 29.9.3.
- firewalld is running and is set up so that it deletes other applications' iptables rules. That means either
FirewallBackend=iptables(any firewalld version), orFirewallBackend=nftables(which the advisory calls the default) combined with an older firewalld or with any direct configuration.
Read "is running" generously. Stopping firewalld is itself one of the triggers, so a node where firewalld ran at some point since dockerd last started, and is stopped now, can be in the broken state already.
For the nftables backend, "older" means firewalld without an upstream fix that shipped in firewalld 2.0.0 and was backported to firewalld-1.2.5-1.el9 and firewalld-0.9.11-9.el8. The advisory names Debian 12 (firewalld 1.3.3) and Ubuntu 22.04 (1.1.1) as affected. "Direct configuration" means rules added with --direct --add-rule, --add-chain, --add-passthrough or a direct.xml file. The advisory adds that the FlushAllOnReload setting makes no difference.
firewalld not installed at all (plain ufw, nftables or raw iptables)? Then this advisory's trigger does not apply to you. Upgrade anyway on your normal schedule.
Check a node in five minutes
Run these on every Swarm node. First the engine version and Swarm state:
docker version --format '{{.Server.Version}}'
docker info --format '{{.Swarm.LocalNodeState}}'
Anything below 29.9.3 on a node that prints active needs the next steps. List the overlay networks with their options:
docker network ls -q --filter driver=overlay | xargs -r docker network inspect --format '{{.Name}}: {{json .Options}}'
The xargs -r makes the command print nothing, instead of an error, on a node with no overlay networks. A network created with --opt encrypted shows an encrypted key in its options. If none of your networks has it, you never had overlay encryption and this bug changes nothing for you (whether you should have it is a separate question).
Now firewalld: is it running, which version, which backend, and is there any direct configuration?
systemctl is-active firewalld
firewall-cmd --version
grep -E 'FirewallBackend|CleanupOnExit' /etc/firewalld/firewalld.conf
sudo firewall-cmd --direct --get-all-rules
sudo firewall-cmd --direct --get-all-chains
sudo firewall-cmd --direct --get-all-passthroughs
The grep shows commented lines too. A setting that is commented out or missing means firewalld uses its built-in default for that version; man firewalld.conf on the host tells you what that is.
On RHEL-family hosts firewall-cmd --version is not enough, because the fix was backported without changing the upstream version number. Ask the package manager and compare with the fixed builds named in the advisory (firewalld-1.2.5-1.el9, firewalld-0.9.11-9.el8):
rpm -q firewalld
Compare the output with condition 3 above. A node is outside the advisory's affected set when firewalld uses the nftables backend, is at 2.0.0 or newer (or at one of those backported builds or later), and all three --direct commands print nothing.
An inactive firewalld does not clear the node by itself. If firewalld was stopped after dockerd started, the stop may already have removed the rules (CleanupOnExit=yes is the default), and they stay gone. Run the leak check in the next section, and restart dockerd if the rules are missing.
Is a node leaking right now?
The advisory gives no detection command, so this is our own check, based on its description of the two rules. On a node that currently runs a task on an encrypted network, look for the VXLAN rules:
sudo iptables -t mangle -S OUTPUT | grep 4789
sudo iptables -S INPUT | grep 4789
On a healthy node we expect at least one line from each command per encrypted network. Two empty results on a node that has an encrypted network with a running task suggest the rules are gone. Run the same pair on a freshly restarted node first, so you know what "present" looks like on your distribution.
You can also watch the wire. Replace the interface and address with the node's own:
sudo tcpdump -ni eth0 -c 20 'src host 10.0.0.11 and udp dst port 4789'
Outgoing traffic of an encrypted overlay should leave as ESP, not as UDP to port 4789. Packets here while only encrypted networks are busy mean cleartext is leaving the host. Two cautions: unencrypted overlay networks (including Swarm's default ingress) legitimately produce such packets, and you should filter on outgoing traffic only, because Linux shows incoming IPsec packets a second time after decryption.




