CVE-2025-54388Moby's Firewalld reload makes published container ports accessible from remote hosts
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | docker.io | Fix pending | UBUNTU-CVE-2025-54388 | |
| Ubuntu 26.04 | docker.io | Under investigation | UBUNTU-CVE-2025-54388 | |
| Ubuntu 26.04 | docker.io-app | Fix pending | UBUNTU-CVE-2025-54388 | |
| Ubuntu 25.10 | docker.io | Will 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.10 | docker.io-app | Will 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.04 | docker.io | Fix pending | UBUNTU-CVE-2025-54388 | |
| Ubuntu 24.04 | docker.io-app | Fix pending | UBUNTU-CVE-2025-54388 | |
| Ubuntu 22.04 | docker.io | Fix pending | UBUNTU-CVE-2025-54388 | |
| Ubuntu 22.04 | docker.io-app | Fix pending | UBUNTU-CVE-2025-54388 | |
| Ubuntu 20.04 | docker.io | Fix pending | UBUNTU-CVE-2025-54388 | |
| Ubuntu 18.04 | docker.io | Fix pending | UBUNTU-CVE-2025-54388 | |
| Ubuntu 16.04 | docker.io | Fix pending | UBUNTU-CVE-2025-54388 | |
| Alpine Linux 3.24 | docker | Fixed | 28.3.3-r0 | ALPINE-CVE-2025-54388 |
| Alpine Linux 3.23 | docker | Fixed | 28.3.3-r0 | ALPINE-CVE-2025-54388 |
| Alpine Linux 3.22 | docker | Fixed | 28.3.3-r0 | ALPINE-CVE-2025-54388 |
| Go library | github.com/docker/docker | Fixed | 28.3.3+incompatible | GHSA-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.
- moby: affected: >= 28.2.0, < 28.3.3
References
- https://github.com/moby/moby/security/advisories/GHSA-x4rx-4gw3-53p4
- https://github.com/moby/moby/pull/50506
- https://github.com/moby/moby/commit/bea959c7b793b32a893820b97c4eadc7c87fabb0
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.