CVE-2025-54388 Details
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.
A vulnerability in the Moby container framework, affecting versions 28.2.0 through 28.3.2, allows remote access to published container ports after the firewalld service is reloaded. When firewalld is reloaded, it removes all iptables rules, including those created by Docker to block external access to containers. While Docker should automatically recreate these rules, versions prior to 28.3.3 fail to restore the specific rules needed to prevent external access to containers with ports published to localhost. As a result, these containers become accessible from remote machines with network routing to the Docker bridge, despite being intended for local access only. This vulnerability impacts only explicitly published ports, leaving unpublished ports protected.
Users can upgrade to Moby version 28.3.3 or later, where this vulnerability is fixed. Alternatively, after reloading firewalld, the Docker daemon can be restarted, bridge networks can be recreated, or rootless mode can be used.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/moby/moby/commit/bea959c7b793b32a893820b97c4eadc7c87fabb0 | [email protected] | Patch |
| https://github.com/moby/moby/pull/50506 | [email protected] | Issue TrackingPatch |
| https://github.com/moby/moby/security/advisories/GHSA-x4rx-4gw3-53p4 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-909 | Missing Initialization of Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mobyproject moby | >= 28.2.0, < 28.3.3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 8, 2025 | Initial Analysis | [email protected] |
| Jul 30, 2025 | New CVE Received | [email protected] |