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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.1
- **CVSS:** 5.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 19, 2026-11-26)
- **CWE:** CWE-909
- **Aliases:** GHSA-x4rx-4gw3-53p4, GO-2025-3830
- **Published:** 2025-07-29T19:56:22.000Z
- **Modified:** 2026-09-10T03:50:26.417Z

## Who should check

- Projects that depend on Go package github.com/docker/docker (\>= 28.2.0, \< 28.3.3)
- Anyone running moby \>= 28.2.0, \< 28.3.3

## 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 and fixed versions

- Go `github.com/docker/docker`: affected \>= 28.2.0, \< 28.3.3; fixed 28.3.3, 28.3.3+incompatible (osv)
- moby: \>= 28.2.0, \< 28.3.3 (cvelist)

## Mitigation

- Upgrade github.com/docker/docker to one of 28.3.3, 28.3.3+incompatible (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-54388. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-54388.md
Affected: github.com/docker/docker >= 28.2.0, < 28.3.3
Fixed in: 28.3.3, 28.3.3+incompatible

Steps:
1. Search this machine and project for github.com/docker/docker (Go), moby: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-54388 being exploited?

There is no confirmed exploitation: CVE-2025-54388 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-54388?

Medium: CVSS 5.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-54388?

github.com/docker/docker \>= 28.2.0, \< 28.3.3.

### Is there a fix for CVE-2025-54388?

Yes. Fixed in 28.3.3, 28.3.3+incompatible. Upgrade github.com/docker/docker to one of 28.3.3, 28.3.3+incompatible (or later in the same release line).

### How do I check if I'm affected by CVE-2025-54388?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/moby/moby/security/advisories/GHSA-x4rx-4gw3-53p4>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-54388>
- patch: <https://github.com/moby/moby/pull/50506>
- patch: <https://github.com/moby/moby/commit/bea959c7b793b32a893820b97c4eadc7c87fabb0>
- other: <https://github.com/moby/moby>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-54388>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-x4rx-4gw3-53p4> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-3830> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-54388> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-54388>
