What it means for teams

A check in CI protects only the pipeline that runs it. Anyone with direct API access can still create the resource, so the rule has to run in the API server's admission path to hold for every team and every tool.

How to prevent it

  • Label every namespace for Pod Security Admission, starting with audit and warn and moving to enforce.
  • Write cluster-specific rules as ValidatingAdmissionPolicy (CEL), or with a policy engine such as Kyverno, OPA Gatekeeper or Kubewarden when you need more.
  • Enforce image provenance at admission: allowed registries, or a verified signature from the expected builder.
  • Roll new policies out in audit or warn mode first, plan for the policy engine failing, and send admission decisions to your logging.

Guides on this site

Practice

References

  1. K04:2025 Lack Of Cluster Level Policy Enforcement (OWASP)
  2. Kubernetes documentation: Validating Admission Policy

List data from the publisher. A guide is listed as the main subject when the weakness or risk is what the guide is about, and as covering it when a dedicated section or worked example addresses it.

OWASP does not publish a mapping between the 2022 and 2025 lists. The 2022 entry shown for each risk is the one with the same subject, matched by title; 2022's K02 Supply Chain Vulnerabilities has no 2025 counterpart.