LLMs Technical Reviews

OWASP Kubernetes Top Ten 2022

First edition of the OWASP Kubernetes Top Ten, now replaced by 2025; still the better of the two on image supply chain and worked attack examples.

official page ↗OWASP Kubernetes Top Ten projectedition 2022incubator project10 itemssource www-project-kubernetes-top-ten @ 828cfa2

Superseded by OWASP Kubernetes Top Ten 2025. What changed →

Items at a glance

What this list is

This edition has been replaced by the OWASP Kubernetes Top Ten 2025. Read this page for history, or because an audit, policy or training course still cites the 2022 codes.

The 2022 list was the first edition of the OWASP Kubernetes Top Ten, an Incubator project. It ranks ten risks in running workloads on Kubernetes, for operators, developers and security reviewers. The files give no release date. Its scope is the cluster: workload settings, RBAC, authentication, policy, network, Secrets and cluster components. Unlike the 2025 edition, it also covers the container supply chain, and it does not cover the cloud account behind the cluster.

How it was made

The source does not describe a method. The order reflects the authors’ judgement; the project says it would like future editions to rest on data from organisations. Each page has an overview, a description, prevention advice, example attack scenarios and references, and most have an illustration. Some scenario sections were never written: K01 says “TODO”, and K05 has two scenario titles with no text. The “Other Risks to Consider” page says only “coming soon”.

The items

K01 Insecure Workload Configurations

Pod security settings left loose: processes running as root, a writable root filesystem, privileged containers and no CPU or memory limits. To show how common this is, the page quotes a 2022 vendor survey in which nearly 53% of respondents reported a Kubernetes misconfiguration incident in the past year. The fixes are the usual securityContext settings (non-root, non-privileged, allowPrivilegeEscalation: false), plus a LimitRange per namespace and a policy engine to catch drift. The 2025 edition keeps this entry and adds seccomp, capabilities and token mounting.

Related. K01 Insecure Workload Configurations (2025), CNAS-1 Insecure cloud, container or orchestration configuration.

K02 Supply Chain Vulnerabilities

Risk in what goes into a container image and how it reaches the cluster. The page covers three areas: integrity (do you know what you are running?), composition (extra packages add attack surface) and known vulnerabilities in layers shared by many images. Its controls are still a good checklist: in-toto attestations and SLSA levels for the build, an SBOM in CycloneDX or SPDX, image signing with Cosign, minimal or distroless base images, scanning early in CI, and admission rules that reject unsigned, unscanned or off-registry images. Its scenario is a compromised build tool that injects a package which the cluster then pulls and runs. The 2025 edition has no successor to this entry.

Related. CICD-SEC-9 Improper Artifact Integrity Validation, A03:2025 Software Supply Chain Failures, OSS-RISK-2 Compromise of Legitimate Package.

K03 Overly Permissive RBAC Configurations

RBAC grants that are wider than needed. The page shows a ClusterRoleBinding, taken from a real open-source platform, that gives cluster-admin to the default service account, so any compromised pod in that namespace owns the cluster. Its most useful part is a pair of worked demos. They prove that list and watch on Secrets return the full secret values even to an account without get. Advice: least privilege, namespace-scoped RoleBindings, no default token automount, and auditing third-party RBAC. One scenario overstates its case: it binds the admin ClusterRole through a namespace RoleBinding, yet claims cluster-wide rights and reads from kube-system. A RoleBinding only grants rights inside its own namespace.

Related. K02 Overly Permissive Authorization Configurations (2025), NHI5:2025 Overprivileged NHI.

K04 Lack of Centralized Policy Enforcement

How hard it is to push one set of security rules across many clusters and clouds. The page argues that detection is not enough, so bad objects must be blocked at admission. It points to Pod Security Admission with its Privileged, Baseline and Restricted levels, and to OPA Gatekeeper, Kyverno and Kubewarden, and it gives a Gatekeeper registry allow-list as an example. Its scenario is the well-known one-line breakout: a pod with hostPID and privileged that uses nsenter to get a shell on the node. Admission policy is exactly what stops that pod.

Related. K04 Lack Of Cluster Level Policy Enforcement (2025), A02:2025 Security Misconfiguration.

K05 Inadequate Logging and Monitoring

Security-relevant events (failed logins, access to sensitive resources, deletions) that nobody records, centralises, protects or alerts on. The page lists the sources to collect: API audit logs (watch for Forbidden responses, a sign of stolen credentials being tried), Kubernetes events, container stdout and stderr, node OS logs, the managed provider’s control-plane logs, and network or eBPF telemetry. The advice holds up. The scenarios, a rogue insider and a stolen service account token, are titles with no content.

Related. K10 Inadequate Logging And Monitoring (2025), A09:2025 Security Logging & Alerting Failures.

K06 Broken Authentication Mechanisms

Weak ways for people and workloads to authenticate to the API. The page explains why client certificates are a poor choice for people: Kubernetes cannot revoke them. It also says never to build your own scheme, to require MFA through OIDC, to keep service account tokens inside the cluster, and to keep every token short-lived. Its scenario is concrete: a developer commits a certificate-based kubeconfig to a public repository, and the API endpoint is on the internet, so the leaked file is all an attacker needs. The 2025 edition keeps the entry at K09 and adds anonymous-auth and default-token advice.

Related. K09 Broken Authentication Mechanisms (2025), NHI4:2025 Insecure Authentication.

K07 Missing Network Segmentation Controls

A flat pod network lets one compromised workload reach everything else. The page offers four controls: separate clusters for tenants with different risk, NetworkPolicy with default deny, service-mesh authorization policies, and the choice of CNI plugin. Its two scenarios are good. In the first, a compromised WordPress pod reaches an internal Redis. In the second, a web pod reads the bootstrap credentials in kube-env from the cloud metadata service and registers itself as a node. That second scenario became the 2025 entry K08.

Related. K05 Missing Network Segmentation Controls (2025), K08 Cluster-To-Cloud Lateral Movement (2025), CNAS-6 Over-permissive or insecure network policies.

K08 Secrets Management Failures

Kubernetes Secrets are base64-encoded, not encrypted, so a manifest in Git is a leak. The page recommends encryption at rest for etcd, encrypted backups, least-privilege RBAC on Secrets (including in third-party charts) and audit logging of Secret access. Its scenario: an attacker with a shell in a web pod finds the mounted service account token, installs kubectl and uses whatever rights that token has. Some feature-status notes reflect Kubernetes as it was in 2022.

Related. K03 Secrets Management Failures (2025), CNAS-5 Insecure secrets storage, NHI2:2025 Secret Leakage.

K09 Misconfigured Cluster Components

Unsafe settings on the kubelet, etcd and API server. The page shows the kubelet checks: anonymous authentication off, and an authorization mode other than AlwaysAllow. It says to protect etcd, and to keep the API server off the public internet, citing news of hundreds of thousands of exposed instances. Fixes: regular CIS Benchmark scans, cluster configuration as code, and managed Kubernetes to narrow the options. In 2025, this content splits between K07 and the new K06.

Related. K07 Misconfigured And Vulnerable Cluster Components (2025), K06 Overly Exposed Kubernetes Components (2025).

K10 Outdated and Vulnerable Kubernetes Components

Unpatched Kubernetes and, just as often, the ecosystem software around it. The page cites three cases. CVE-2022-24348 in Argo CD let a crafted Helm chart read secrets. An October 2021 ingress-nginx issue let anyone who could edit an Ingress read every secret in the cluster, and upgrading alone did not fix it. CVE-2020-8595 in Istio let a request skip JWT checks by adding ? or # to a protected path. Advice: put Kubernetes components into the normal CVE process, scan continuously, audit third-party software before installing it, and keep an inventory of cluster versions. Merged into K07 in 2025.

Related. K07 Misconfigured And Vulnerable Cluster Components (2025), OSS-RISK-1 Known Vulnerabilities.

What changed

This is the first edition, so there is nothing earlier to compare it with. For what happened next, see the 2025 review and the edition comparison. In short, supply chain was dropped, the two component entries were merged, and exposure and cluster-to-cloud movement became their own entries.

What it misses

  • The cloud account. Node IAM roles and metadata credentials appear only inside a network scenario. The 2025 edition fixes this with K08.
  • Exposure as its own risk. A public API server is a side note under K09.
  • Unfinished pages. K01 and K05 have empty scenarios, and “Other Risks to Consider” is a placeholder.
  • Accuracy. The K03 RoleBinding scenario claims more access than a namespaced binding grants (see above).
  • Naming. The page titles are shorter than the list names (“Overly Permissive RBAC”, “Policy Enforcement”, “Vulnerable Components”). The licence line names CC BY-NC-SA 4.0 but describes it as the Attribution-ShareAlike licence.

Our take

The 2022 edition is still a decent training read. Its worked examples (the list/watch Secret demos, the one-line breakout, the metadata bootstrap attack) teach more than most of the 2025 text. Its K02 is the better treatment of image supply chain of the two editions. For a current review or a test plan, use the 2025 edition and borrow 2022 K02 for the supply-chain gap. Do not cite the 2022 codes in new policy: eight of the ten codes point to a different risk in 2025.

Item codes and names are from “OWASP Kubernetes Top Ten 2022” by OWASP Kubernetes Top Ten project, licence: CC BY-NC-SA 4.0; the project page also calls it Attribution-ShareAlike 4.0. Read the official text before relying on a detail. The review text on this page is ours.