CVE-2025-67499: CNA Plugins Portmap nftables backend can intercept non-local traffic
Background The CNI portmap plugin allows containers to emulate opening a host port, forwarding that traffic to the container. For example, if a host has the IP 198.51.100.42, a container may request that all packets to 198.51.100.42:53 be forwarded to the container's network.
Published Dec 9, 2025 · Updated Mar 24, 2026
Affected packages
github.com/containernetworking/plugins
- Ecosystem
- Go
- Affected
- >= 1.6.0, < 1.9.0
- Fixed in
- 1.9.0
- Check
go list -m github.com/containernetworking/plugins
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Background
The CNI portmap plugin allows containers to emulate opening a host port, forwarding that traffic to the container. For example, if a host has the IP 198.51.100.42, a container may request that all packets to 198.51.100.42:53 be forwarded to the container's network.
Vulnerability
When the portmap plugin is configured with the nftables backend, it inadvertently forwards all traffic with the same destination port as the host port, ignoring the destination IP. This includes traffic not intended for the node itself, i.e. traffic to containers hosted on the node.
In the given example above, traffic destined to port 53 but for a _separate container_ would still be captured and forwarded, even though it was not destined for the host.
Impact
Containers (i.e. kubernetes pods) that request HostPort forwarding can intercept all traffic destined for that port. This requires that the portmap plugin be explicitly configured to use the nftables backend. (The iptables backend is the default.)
Patches
This is fixed as of CNI plugins v1.9.0
Workarounds
Configure the portmap plugin to use the iptables backend. It does not have this vulnerability.
Credited to agusdallalba, champtar.
References
- https://github.com/containernetworking/plugins/security/advisories/GHSA-jv3w-x3r3-g6rm
- https://github.com/containernetworking/plugins/commit/9b3772e1a7abf93cbb7c6526a28bc0d27b830e02
- https://nvd.nist.gov/vuln/detail/CVE-2025-67499
- https://github.com/containernetworking/plugins/pull/1210
- https://github.com/containernetworking/plugins/releases/tag/v1.9.0
- https://pkg.go.dev/vuln/GO-2026-4222
- https://github.com/advisories/GHSA-jv3w-x3r3-g6rm
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
