PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2026-32720: 
vulnerability analysis and mitigation

Overview

CVE-2026-32720 is an Improper Access Control vulnerability in the CTFer.io Monitoring component (github.com/ctfer-io/monitoring), a Go library responsible for collection, processing, and storage of signals such as logs, metrics, and distributed traces in Kubernetes environments. Due to a mis-written NetworkPolicy (the inter-ns- policy), a malicious actor can pivot from a compromised component to any other Kubernetes namespace, breaking the security-by-default isolation expected from the deployment. All versions prior to v0.2.1 are affected. The vulnerability was published on March 13, 2026, and carries a CVSS v4.0 base score of 7.1 (High) (Github Advisory).

Technical details

The root cause is classified as CWE-284 (Improper Access Control). The flawed NetworkPolicy named inter-ns- was intended to deny egress traffic to adjacent namespaces for isolation, but was instead mis-written to inadvertently permit cross-namespace traffic. Specifically, the policy used a NotIn operator on kubernetes.io/metadata.name in a NamespaceSelector, which in practice allowed pods in the monitoring namespace to reach pods in all other namespaces rather than restricting them. The fix, implemented in commit 5404a11, removes the erroneous internspol NetworkPolicy entirely from services/parts/namespace.go (Github Advisory, Fix PR, Fix Commit). No privileges are required to exploit this once an attacker has a foothold in any component within the affected namespace, and no user interaction is needed.

Impact

Successful exploitation allows a malicious actor with access to any pod within the monitoring namespace to perform lateral movement across all other Kubernetes namespaces, bypassing the intended network isolation boundary. The impact on the directly vulnerable system is limited (no direct confidentiality, integrity, or availability loss), but subsequent systems face high confidentiality, integrity, and availability risk — an attacker could access sensitive workloads, exfiltrate data, tamper with services, or disrupt availability across the entire cluster (Github Advisory). This effectively undermines the security-by-default posture of the deployment and could enable full cluster compromise if other namespaces host privileged workloads.

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported for this vulnerability. The EPSS score is approximately 0.041–0.061%, placing it in a low exploitation probability tier (Github Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires the attacker to already have a foothold within a pod in the affected monitoring namespace (Attack Requirements: Present), limiting the practical attack surface to environments where an adversary has already achieved initial access.

Exploitation steps

  1. Initial Access: Gain execution within a pod in the CTFer.io monitoring namespace (e.g., via a compromised monitoring component, a misconfigured container, or a separate vulnerability in a co-located service).
  2. Identify the misconfigured NetworkPolicy: Run kubectl -n <monitoring-namespace> get networkpolicy to confirm the presence of a policy prefixed with inter-ns-, which should be restricting cross-namespace egress but is instead permitting it.
  3. Enumerate reachable namespaces: From within the compromised pod, use tools such as curl, nmap, or kubectl (if available) to probe services in other Kubernetes namespaces (e.g., curl http://<service>.<other-namespace>.svc.cluster.local).
  4. Lateral movement: Leverage the unrestricted egress to communicate with and attack services in other namespaces — accessing APIs, databases, or other sensitive workloads that should be isolated from the monitoring namespace.
  5. Escalate or exfiltrate: Depending on the services reachable in other namespaces, escalate privileges, exfiltrate sensitive data, or disrupt availability of critical cluster workloads (Github Advisory, Fix Commit).

Indicators of compromise

  • Network: Unexpected egress traffic from pods in the monitoring-* namespace to services or pods in unrelated Kubernetes namespaces; cross-namespace DNS resolution attempts (e.g., <service>.<other-namespace>.svc.cluster.local) originating from monitoring pods.
  • Kubernetes Audit Logs: Presence of inter-ns- prefixed NetworkPolicy objects in monitoring namespaces on unpatched deployments; API calls to list or access resources in namespaces outside the monitoring scope from monitoring service accounts.
  • Network Flow Logs: Unusual pod-to-pod traffic flows crossing namespace boundaries from monitoring-* namespaces, particularly to namespaces hosting sensitive workloads (e.g., databases, secret stores, privileged controllers).
  • File System / Process: Unexpected network scanning or enumeration tools (e.g., nmap, curl, wget) executed within monitoring pods; unusual outbound connection attempts logged by container runtime or eBPF-based network monitoring tools.

Mitigation and workarounds

Upgrade to github.com/ctfer-io/monitoring v0.2.1 or later, which removes the mis-written inter-ns- NetworkPolicy (v0.2.1 Release). For environments where an immediate upgrade is not possible, manually delete all NetworkPolicy objects prefixed with inter-ns- in the monitoring namespace using the following command:

for ns in $(kubectl get ns -o jsonpath='{.items[*].metadata.name}' | tr ' ' '\n' | grep '^monitoring-'); do
  kubectl -n "$ns" get networkpolicy -o name \
    | grep '^networkpolicy.networking.k8s.io/inter-ns-' \
    | xargs -r kubectl -n "$ns" delete
done

After applying the workaround, update to v0.2.1 as soon as possible to ensure the fix is applied at the source (Github Advisory).

Community reactions

The vulnerability was credited to researcher ViRb3 as the finder and was published by maintainer pandatix on March 13, 2026. The fix was reviewed and approved by NicoFgrx before merging (Fix PR). The advisory was picked up by automated vulnerability tracking services including the Go vulnerability database, ENISA EUVD, and Qualys scanner shortly after disclosure, but no significant broader community discussion or media coverage has been identified.

Additional resources


Source: This report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management