CVE-2024-7598 Network restriction bypass via race condition during namespace termination

Low 3.1 Published Updated

A race condition during namespace deletion allows compromised pods to bypass network policy restrictions temporarily.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-7598?

CVE-2024-7598 is a low-severity vulnerability in Kubernetes kube-apiserver, published on 20 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A security issue was discovered in Kubernetes where a malicious or compromised pod could bypass network restrictions enforced by network policies during namespace deletion. The order in which objects are deleted during namespace termination is not defined, and it is possible for network policies to be deleted before the pods that they protect. This can lead to a brief period in which the pods are running, but network policies that should apply to connections to and from the pods are not enforced.

Weakness: CWE-362

Which versions are affected by CVE-2024-7598?

3 open source packages ship an affected version, including k8s.io/kubernetes/cmd/kube-apiserver and k8s.io/kubernetes.

PackageAffectedFixed in
k8s.io/kubernetes/cmd/kube-apiserver GoFrom 1.3.0 to 1.32.3None
k8s.io/kubernetes/cmd/kube-apiserver GoFrom 1.3.0 to 1.32.3None
k8s.io/kubernetes GoFrom 1.3.0None

How do I fix CVE-2024-7598?

Apply the vendor's patch.

Is CVE-2024-7598 being exploited?

There is no known exploitation of CVE-2024-7598 in the wild and no public exploit code.

Sources

Also known as AZL-58953, AZL-58960, CLEANSTART-2026-RO24515, DEBIAN-CVE-2024-7598, ECHO-fd52-1a86-4159, GHSA-r56h-j38w-hrqq and 66 more.

Is CVE-2024-7598 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free