CVEfocus › CVE database › CVE-2025-54388

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

CVSS 5.1 MediumEPSS 0.3% (higher than 19% of CVEs)Published 2025-07-30Updated 2025-07-30Assigner: GitHub_M

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.

CWE-909

What to do

Fixed builds are available from Alpine, Go: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
9Fix pending
1Under investigation
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10docker.ioFix pendingUBUNTU-CVE-2025-54388
Ubuntu 26.04docker.ioUnder investigationUBUNTU-CVE-2025-54388
Ubuntu 26.04docker.io-appFix pendingUBUNTU-CVE-2025-54388
Ubuntu 25.10docker.ioWill not fix
Traditionally the docker.io source package contained both the library and docker application. However, in releases that contain the docker.io-app source…
UBUNTU-CVE-2025-54388
Ubuntu 25.10docker.io-appWill not fix
Traditionally the docker.io source package contained both the library and docker application. However, in releases that contain the docker.io-app source…
UBUNTU-CVE-2025-54388
Ubuntu 24.04docker.ioFix pendingUBUNTU-CVE-2025-54388
Ubuntu 24.04docker.io-appFix pendingUBUNTU-CVE-2025-54388
Ubuntu 22.04docker.ioFix pendingUBUNTU-CVE-2025-54388
Ubuntu 22.04docker.io-appFix pendingUBUNTU-CVE-2025-54388
Ubuntu 20.04docker.ioFix pendingUBUNTU-CVE-2025-54388
Ubuntu 18.04docker.ioFix pendingUBUNTU-CVE-2025-54388
Ubuntu 16.04docker.ioFix pendingUBUNTU-CVE-2025-54388
Alpine Linux 3.24dockerFixed28.3.3-r0ALPINE-CVE-2025-54388
Alpine Linux 3.23dockerFixed28.3.3-r0ALPINE-CVE-2025-54388
Alpine Linux 3.22dockerFixed28.3.3-r0ALPINE-CVE-2025-54388
Go librarygithub.com/docker/dockerFixed28.3.3+incompatibleGHSA-x4rx-4gw3-53p4

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.