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

Medium 5.1 Published Updated

Firewalld reloads remove Docker's localhost port restrictions, exposing container ports to remote attackers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-54388?

CVE-2025-54388 is a medium-severity vulnerability in moby, published on 30 Jul 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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.

Weakness: CWE-909

Which versions are affected by CVE-2025-54388?

3 open source packages ship an affected version, including github.com/docker/docker. It affects 1 product.

PackageAffectedFixed in
github.com/docker/docker GoFrom 28.2.028.3.3
github.com/docker/docker GoFrom 28.2.028.3.3
github.com/docker/docker GoFrom 28.2.0+incompatible28.3.3+incompatible
Linux distribution packages (30)
docker SUSE:Enterprise Storage 7.1All versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSAll versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSAll versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise Micro 5.1All versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise Micro 5.2All versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise Micro 5.3All versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise Micro 5.4All versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise Micro 5.5All versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise Module for Basesystem 15 SP7All versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise Module for Containers 15 SP6All versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise Module for Containers 15 SP7All versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise Server 12 SP5-LTSSAll versions28.3.3_ce-98.137.1
docker SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise Server 15 SP5-LTSSAll versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise Server 16.0All versions28.5.1_ce-160000.4.1
docker SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions28.3.3_ce-98.137.1
docker SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise Server for SAP Applications 15 SP4All versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise Server for SAP Applications 15 SP5All versions28.3.3_ce-150000.230.1
docker SUSE:Linux Enterprise Server for SAP applications 16.0All versions28.5.1_ce-160000.4.1
docker SUSE:Linux Micro 6.0All versions28.3.3_ce-6.1
docker SUSE:Linux Micro 6.1All versions28.4.0_ce-slfo.1.1_6.1
docker SUSE:Linux Micro 6.2All versions28.5.1_ce-160000.4.1
docker openSUSE:Leap 15.6All versions28.3.3_ce-150000.230.1
docker openSUSE:Leap 16.0All versions28.5.1_ce-160000.4.1
docker openSUSE:TumbleweedAll versions28.3.3_ce-26.1

Products include Mobyproject Moby.

How do I fix CVE-2025-54388?

Upgrade github.com/docker/docker to a fixed version for your release line: 28.3.3 or 28.3.3+incompatible.

Is CVE-2025-54388 being exploited?

There is no known exploitation of CVE-2025-54388 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2025-54388, CLEANSTART-2025-VP24183, GHSA-x4rx-4gw3-53p4, GO-2025-3830, MINI-2296-9mvh-8mc4, MINI-2p25-r653-6cpj and 19 more.

Is CVE-2025-54388 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free