Vulnerability · Published Jul 30, 2025 · Assigned by GitHub_M

CVE-2025-54388Moby's Firewalld reload makes published container ports accessible from remote hosts

Medium 5.1

In plain English

A medium-severity security flaw in moby from moby. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.1Medium
Exploit odds (30 days)0.3%top 81.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Moby is an open source container framework developed by Docker Inc. that is distributed as Docker Engine, Mirantis Container Runtime, and various other downstream projects/products. In versions 28.2.0 through 28.3.2, when the firewalld service is reloaded it removes all iptables rules including those created by Docker. While Docker should automatically recreate these rules, versions before 28.3.3 fail to recreate the specific rules that block external access to containers. This means that after a firewalld reload, containers with ports published to localhost (like 127.0.0.1:8080) become accessible from remote machines that have network routing to the Docker bridge, even though they should only be accessible from the host itself. The vulnerability only affects explicitly published ports - unpublished ports remain protected. This issue is fixed in version 28.3.3.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.22docker28.3.3-r0ALPINE-CVE-2025-54388
Alpine:v3.23docker28.3.3-r0ALPINE-CVE-2025-54388
Alpine:v3.24docker28.3.3-r0ALPINE-CVE-2025-54388
Gogithub.com/docker/docker28.3.3+incompatibleGO-2025-3830
Gogithub.com/docker/docker28.3.3GHSA-x4rx-4gw3-53p4
Ubuntu:25.10docker.iono fix listedUBUNTU-CVE-2025-54388
Ubuntu:26.04:LTSdocker.iono fix listedUBUNTU-CVE-2025-54388
Ubuntu:26.10docker.iono fix listedUBUNTU-CVE-2025-54388
Ubuntu:25.10docker.io-appno fix listedUBUNTU-CVE-2025-54388
Ubuntu:26.04:LTSdocker.io-appno fix listedUBUNTU-CVE-2025-54388

Affected products (as reported)

VendorProductVersions
moby moby >= 28.2.0, < 28.3.3

Weakness: CWE-909 · Vector: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

References