Kubernetes is fast becoming the industry standard for container lifecycle management, powering modern applications across enterprises worldwide. Its flexibility, scalability, and automation make it essential for driving digital transformation and building cloud-native applications.

However, this innovation also brings new layers of complexity and risk. Kubernetes environments are highly fluid, with workloads frequently starting and stopping across APIs, service meshes, and distributed clusters. This creates both opportunity and risk for the executives responsible for safeguarding business systems.

em360tech image

What is Kubernetes Security?

Kubernetes is fast becoming an industry standard for managing containerised applications, helping organisations deploy, scale and manage modern software. But there is an interesting story behind its name. Kubernetes comes from the Greek word for “helmsman” or “pilot”, reflecting its role in steering complex applications. It is also commonly shortened to K8s, with the number eight representing the letters between the K and the s.

Originally developed at Google, Kubernetes was released as an open-source project in 2014. Its design drew on more than 15 years of Google's experience running production workloads at scale, alongside contributions from the wider open-source community. Even its logo has a story: the seven spokes of its ship's wheel are a nod to an early project name, “Project Seven of Nine”, inspired by the Star Trek: Voyager character.

Today, Kubernetes helps organisations manage applications across distributed environments, automating tasks such as scaling, deployment and recovery when components fail. However, this flexibility also introduces security challenges. Workloads change frequently, services communicate across clusters, and a single misconfiguration or vulnerable component can expose sensitive systems.

For Chief Information Security Officers (CISOs), securing Kubernetes is therefore about more than protecting individual containers. It requires a consistent approach to access control, workload protection, vulnerability management and monitoring. This guide explores the key Kubernetes security risks and best practices organisations can use to reduce them.

Why Is Kubernetes Security Important?

Kubernetes environments are dynamic: workloads are created, replaced and scaled as application needs change. Services communicate across clusters and cloud environments, while teams and automated processes interact with the Kubernetes API. Without consistent controls, this complexity can make it difficult to understand who has access to what, which components are exposed and whether configurations still meet security requirements.

A security weakness can have consequences beyond a single container. Depending on the permissions available to a compromised workload or component, an attacker may be able to access sensitive data, move laterally, interfere with applications or disrupt services. Inadequate controls can also make it harder to demonstrate compliance or investigate an incident.

The aim isn't to eliminate every operational risk. It is to reduce the likelihood and impact of compromise through layered controls, clear ownership and continuous review.

What Are the Main Kubernetes Security Risks?

  • API server vulnerabilities

The Kubernetes API server is the heart of cluster control, managing workloads, configurations and communications across the cluster. Its critical role makes it a prime target for attackers. Vulnerabilities such as CVE-2025-5187 have highlighted how weaknesses in Kubernetes security controls can affect cluster operations. This vulnerability allows node users to delete their corresponding node object under specific conditions involving the NodeRestriction admission controller and OwnerReferencesPermissionEnforcement.

Separately, CVE-2025-9708 affects the Kubernetes c# client, where improper certificate validation in custom CA mode may lead to man-in-the-middle attacks. These vulnerabilities highlight how weaknesses in authorisation and certificate validation can have implications for cluster integrity, data security and operational stability

  • Pod and node exploits

Compromised containers can facilitate lateral movement within a cluster. Vulnerabilities such as CVE-2025-1974 in the Ingress NGINX Controller have demonstrated how attackers with access to the pod network could execute code in the controller's context and potentially access secrets across namespaces, depending on the controller's permissions.

As described in the Kubernetes security advisory, the vulnerability affected specific versions of Ingress NGINX rather than all Kubernetes environments. This demonstrates how a single vulnerable component can have far-reaching consequences in a distributed Kubernetes environment.

  • Service mesh misconfigurations

Service meshes, such as Istio and Linkerd, play a critical role in managing microservices communication by providing traffic routing, observability, policy enforcement and encryption. However, the complexity they introduce can create security gaps if not properly configured. Misconfigured TLS settings can weaken communication security, while overly permissive permissions or incorrect policy definitions can potentially allow unauthorised access or data interception.

While a service mesh enhances security and operational insight, it also introduces resource overhead, additional operational complexity and new potential points of failure. Organisations must carefully balance the benefits of encryption, observability and fine-grained control against the increased attack surface and maintenance burden that comes with these systems.

Kubernetes Security

Securing the Kubernetes Ecosystem

Given the modular and distributed system of Kubernetes, securing a cluster requires a multi-layered and systematic approach.

Let's take a look at what is needed:

  • Implementing RBAC policies

Role-Based Access Control (RBAC) is essential for limiting what users, service accounts and workloads can access within a cluster. Applying the principle of least privilege helps reduce the risk of a compromised account or pod being used to escalate privileges or access sensitive resources.

Kubernetes recommends regularly reviewing permissions to ensure that users and workloads only have the access they need.

  • Regular vulnerability scanning

Regular scanning of container images, configurations and cluster components is critical. Tools such as ARMO and other Kubernetes security scanners can identify misconfigurations, known vulnerabilities and outdated packages, allowing teams to address issues before they are exploited.

Scanning should take place throughout the development and deployment process, with frequency depending on the tools and environment.

  • Continuous monitoring

Runtime security tools provide visibility into cluster activity, helping detect anomalies, suspicious API calls or unauthorised changes. These tools can establish a baseline of normal behaviour and flag deviations, such as unexpected network calls or unauthorised file access, as potential security risks.

Depending on the solution, runtime security tools may also enforce policies to help prevent malicious actions. They can analyse three primary areas: application behaviour, network traffic and system calls.

  • Application behaviour analysis: Tracks actions performed by an application, including file access, data processing and network connections. Understanding typical patterns allows the tool to identify anomalies and potential security risks.
  • Network traffic monitoring: Observes communication between pods, services and external endpoints. Unusual traffic patterns can indicate data exfiltration attempts, lateral movement or misconfigured network policies.
  • System call monitoring: Examines low-level system calls to detect potentially unauthorised access to the host or container environment, such as attempts to escalate privileges or execute unexpected processes.

Integrating these runtime monitoring capabilities into operational workflows enables teams to respond quickly to threats, minimise the damage from attacks and maintain the integrity of the cluster.

Together with RBAC and vulnerability scanning, continuous monitoring forms an important part of a Kubernetes security strategy. These practices help reduce risk as workloads scale and environments grow more complex, but they need to be supported by secure configurations, timely patching and regular reviews.

Kubernetes

Common Threats and Vulnerabilities

As Kubernetes adoption grows across enterprises, attackers have adapted their methods to exploit the unique aspects of containerised and cloud-native environments. Understanding the most common threats and vulnerabilities is essential for CISOs and security teams seeking to protect clusters effectively.

Key risks include misconfigurations, exposed dashboards and control planes, supply chain attacks, and vulnerabilities in components such as controllers and ingress. Even minor lapses in configuration or oversight can provide attackers with a foothold, allowing them to move laterally across a cluster or access sensitive data.

This section explores the key threats and vulnerabilities that organisations need to address to maintain secure and resilient Kubernetes environments.

1. Misconfigurations

Misconfigurations remain a significant security risk in Kubernetes environments. Default settings, disabled encryption, unnecessary exposed ports and overly permissive RBAC policies can create exploitable gaps. A 2024 Red Hat report, based on a survey of 600 DevOps, engineering and security professionals, found that 40 per cent of respondents said their organisations had detected misconfigurations in their container or Kubernetes environments. This highlights why careful configuration management is essential.

Main misconfiguration risks:

  • Overly permissive RBAC policies: Granting broad permissions can allow attackers to escalate privileges within the cluster. For instance, binding the default service account in the default namespace to the cluster-admin ClusterRole can give workloads using that account extensive control over the cluster.
  • Disabled encryption: Failing to enable encryption for Kubernetes Secrets stored in etcd can expose sensitive information if unauthorised users gain access to the underlying data.
  • Exposed ports and services: Exposing unnecessary ports or making the API server accessible to untrusted networks can provide attackers with entry points into the cluster.
  • Insecure network policies: A lack of proper network segmentation can allow lateral movement within the cluster, enabling attackers to access other services and data.

Mitigation strategies:

  • Implement least privilege access: Ensure that users and service accounts have only the permissions necessary to perform their tasks.
  • Enable encryption: Configure encryption for Secrets stored in etcd to protect sensitive information.
  • Restrict exposed ports and services: Expose only necessary endpoints and use firewalls and network controls to limit access.
  • Define network policies: Use network policies to control communication between pods and reduce the risk of lateral movement.

2. Exposed dashboards or control planes

Unsecured web dashboards or APIs accessible from the internet can be high-risk targets. Attackers scan for exposed services and may attempt to exploit weak authentication, excessive permissions or known vulnerabilities.

Research into Kubernetes security issues highlights the risks associated with exposed cluster components. Ensuring that dashboards, APIs and control planes are properly restricted is therefore essential.

Risks of exposed dashboards:

  • Unauthorised access: Exposed dashboards with weak authentication or excessive permissions can allow attackers to gain access to cluster resources.
  • Sensitive information disclosure: Dashboards may display sensitive information, such as pod configurations and, depending on permissions, secrets that could be exploited by attackers.

Mitigation strategies:

  • Restrict access: Use strong authentication and appropriate access controls, alongside firewalls or network restrictions, to limit access to dashboards and control planes.
  • Use secure connections: Ensure communications with dashboards and APIs are encrypted using TLS.
  • Regular audits: Periodically review access logs and configurations to detect and address potential exposure.

3. Supply chain attacks

Threats can also enter the environment before deployment. Malicious or vulnerable third-party container images, compromised Continuous Integration/Continuous Deployment (CI/CD) pipelines, or tampered Helm charts can introduce backdoors or known vulnerabilities (CVEs) into otherwise trusted workloads. Supply chain attacks remain an important risk because they can introduce vulnerabilities or malicious code before applications reach production.

Common supply chain risks:

  • Compromised container images: Using unverified or outdated images can introduce vulnerabilities into the cluster.
  • Tampered Helm charts: Modifying Helm charts can alter deployment configurations, potentially introducing insecure settings or unauthorised workloads.
  • Insecure CI/CD Pipelines: Weaknesses in the CI/CD pipeline can be exploited to inject malicious code during the build or deployment process.

Mitigation strategies:

  • Use trusted sources: Use container images and Helm charts from trusted sources, and verify their integrity before use.
  • Implement image scanning: Regularly scan container images for known vulnerabilities and malware.
  • Secure CI/CD pipelines: Implement security measures, such as code signing, access controls and protected build processes, to reduce the risk of pipeline tampering.

4. Vulnerabilities in controllers and Ingress

Critical vulnerabilities in widely used components can pose significant risks. In March 2025, researchers disclosed multiple vulnerabilities in the Ingress NGINX Controller, including CVE-2025-1097, CVE-2025-1098, CVE-2025-24514 and CVE-2025-1974. Collectively referred to as “Ingress Nightmare”, these vulnerabilities could allow attackers to execute code in the controller's context and potentially access secrets available to it.

The risk depended on the vulnerability, network access and configuration. The issues affected specific versions of Ingress NGINX, not every Kubernetes cluster or ingress controller. 

Risks of vulnerable controllers and Ingress:

Mitigation strategies:

  • Regular updates: Keep controllers and ingress components up to date with the latest security patches.
  • Secure configurations: Follow security best practices when configuring controllers and ingress resources, including reviewing permissions and admission webhook exposure.
  • Limit exposure: Avoid exposing controller management interfaces and admission webhook endpoints to the public internet unless necessary and appropriately protected.

5. Drift and configuration sprawl

As clusters scale, configurations and policies can drift from their intended state. Without regular auditing and policy enforcement, inconsistencies can accumulate, creating opportunities for privilege escalation or weakening other security controls. Managing configuration drift is therefore essential for maintaining a secure and stable Kubernetes environment.

Risks of configuration drift:

  • Privilege escalation: Configuration changes can inadvertently grant elevated privileges to users or services.
  • Inconsistent policies: Divergent configurations can lead to inconsistent security policies, creating gaps in protection and increasing the attack surface.

Mitigation Strategies:

Kubernetes Security

Shared Responsibility in Kubernetes Security

In cloud-native environments, security is a shared responsibility. Cloud providers generally manage the security of the underlying infrastructure, including physical hardware, networking and the hypervisor layer. However, customers remain responsible for securing their workloads, configurations and policies, although the exact division of responsibility depends on the cloud service and deployment model.

Kubernetes introduces an additional abstraction layer between infrastructure and workloads, creating new responsibilities for organisations. While Kubernetes provides a powerful platform for orchestrating containerised applications, it also requires a strong focus on security practices to mitigate potential risks.

Kubernetes Best Practices

1. Control plane protection

The control plane manages the overall state and configuration of a Kubernetes cluster. Securing it is essential:

  • Use TLS for encryption: Ensure that communication between control plane components and their clients is protected using Transport Layer Security (TLS). This helps protect data in transit between components such as the API server, etcd and kubelets.
  • Encrypt data at rest: Enable encryption at rest for sensitive data stored in etcd, including Secrets, to reduce the risk of unauthorised access.
  • Implement strict authentication and authorisation: Use strong authentication methods, such as certificate-based access and appropriately managed token mechanisms, to control who can access the API server. Implement Role-Based Access Control (RBAC) to enforce the principle of least privilege.
  • Limit API server exposure: Restrict access to the API server using appropriate network controls and by isolating management traffic. Avoid exposing the control plane directly to the public internet unless there is a specific, adequately protected requirement.


Kubernetes Architecture Planes

2. Secrets management

Improper management of secrets, credentials or configuration data can lead to unauthorised access, data leaks or compliance breaches. Handling sensitive information securely is therefore essential:

  • Encrypt Secrets at rest: Configure Kubernetes to encrypt Secrets stored in etcd. Kubernetes does not encrypt these values at rest by default.
  • Use external secrets management tools: Consider integrating external secrets management solutions such as HashiCorp Vault or AWS Secrets Manager to support secure storage, access control, lifecycle management and secret rotation.
  • Avoid embedding secrets in code: Do not hard-code secrets in application code or commit them to configuration files in source repositories. Where possible, use a secrets management solution or mount Secrets as files, restricting access to the containers that need them. Environment variables can also be used, but require care because sensitive values may be exposed through logs or diagnostic output.

3. Workload protection

Each pod and container represents a potential entry point for attackers, so organisations must enforce appropriate security controls at the workload level. These measures help reduce the risk of both internal and external threats:

  • Enforce Pod Security Standards: Implement Pod Security Admission (PSA) to enforce appropriate security standards at the pod level across Kubernetes clusters.
  • Use runtime security tools: Employ tools such as Falco or eBPF-based detection solutions to monitor container activity and identify anomalous behaviour.
  • Implement network policies: Define network policies to control traffic between pods and restrict ingress or egress traffic where appropriate. Network policy enforcement depends on the cluster's networking implementation.
  • Scan container images: Integrate image-scanning tools such as Trivy or Clair into CI/CD pipelines to identify known vulnerabilities before deployment.

4. Admission control

Admission controllers help enforce policies by intercepting requests to the Kubernetes API server before resources are created or modified. They can validate requests or modify them to ensure that they comply with organisational security and operational policies. Regularly reviewing and updating admission controls is important because outdated rules or poorly maintained webhooks can leave security gaps or disrupt cluster operations.

Are you enjoying the content so far?
  • Use validating and mutating webhooks: Implement webhooks where appropriate to validate or modify API requests as they enter the cluster, helping enforce security policies.
  • Keep webhook logic updated: Regularly review and update webhook logic to align with evolving security requirements and Kubernetes releases.
  • Ensure webhook performance and reliability: Design webhooks to respond efficiently and configure failure-handling behaviour carefully to balance security enforcement with cluster availability.

5. Auditing and logging

Continuous monitoring and auditing provide visibility into cluster activity, helping organisations detect anomalies, misconfigurations and unauthorised actions before they escalate into security incidents. Regular audits can also help verify that security policies are applied consistently, configuration drift is detected and lessons from incidents inform operational improvements.

  • Enable audit logs: Configure Kubernetes audit logging to record relevant activity, including API requests and changes to cluster resources. Audit policies should capture the events needed for security investigations without generating unnecessary volumes of sensitive data.
  • Centralise log storage: Send logs to a secure, centralised logging platform, such as a security information and event management (SIEM) system, an ELK-based stack or Splunk. Apply appropriate access controls and retention policies.
  • Define alerting mechanisms: Set up alerts for suspicious activities, such as privilege escalation, unexpected role assignments or unusual access to sensitive resources.
  • Regularly review audit trails: Review audit logs to identify potential security incidents, investigate suspicious activity and improve security controls.

Kubernetes Security

Emerging Trends in Kubernetes Security

The threat landscape for Kubernetes continues to evolve, and traditional security controls may not be sufficient to address every attack vector. New technologies and research are exploring ways to improve detection, enforcement and resilience across clusters. Organisations should monitor these developments while continuing to prioritise established security practices.

  • Automated Moving Target Defence (MTD): Research projects such as ADA explore continuously rotating workloads at the infrastructure level within Kubernetes, particularly for AI workloads. By regularly replacing workload instances, these approaches aim to make it harder for attackers to maintain persistent access. However, organisations need to assess the potential impact on workload availability and performance before adopting this approach.
  • Fine-grained API filtering: Research such as KubeFence explores ways to restrict Kubernetes API access beyond conventional Role-Based Access Control (RBAC). By filtering requests according to workload requirements, this approach aims to reduce the attack surface and limit access to unnecessary API functionality.
  • Supply chain provenance: Approaches such as ARGO-SLSA explore how cryptographic signing and provenance attestations can be integrated into Argo Workflows. These mechanisms help organisations verify the integrity and origin of software artefacts produced through Kubernetes-native automation. The research demonstrates a proof of concept rather than a universal, built-in capability of Argo Workflows.
  • AI-assisted security hardening: AI-assisted security tools are an emerging area of interest, with potential applications in analysing configuration manifests, identifying misconfigurations and recommending least-privilege settings. Solutions such as KubeGuard aim to provide Kubernetes monitoring and compliance insights. However, its public website does not substantiate the specific claim that it uses large language models to analyse runtime logs and recommend configurations, so that detail should not be presented as an established capability without further evidence.

These approaches represent potential additions to Kubernetes security strategies, rather than replacements for established controls. Organisations should assess their maturity, effectiveness and operational impact before adopting emerging technologies in production environments.

Kubernetes Security

Recommendations for CISOs and Tech Leaders

As Kubernetes adoption grows, securing clusters requires a proactive, multi-layered approach. The following strategies provide practical guidance for CISOs and technology leaders to reduce risk, maintain compliance and safeguard workloads across complex cloud-native environments.

To improve Kubernetes security, consider the following strategies:

  • Start from day zero: Treat every cluster as a potential target. Implement hardened templates, enforce security policies before workloads are deployed, and restrict API server exposure from the outset.
  • Adopt a policy and enforcement model: Use policy engines such as Open Policy Agent (OPA) with Gatekeeper, or Kyverno, to enforce security requirements rather than relying on guidance alone. These tools can help validate configurations and prevent non-compliant resources from being deployed. Kyverno documentation explains how policy enforcement can be applied within clusters and deployment pipelines.
  • Shift security left: Integrate image scanning, policy checks, vulnerability assessments and compliance validation into CI/CD pipelines to reduce the risk of insecure artefacts reaching production.
  • Continuously audit and detect configuration drift: Use tools to monitor configuration changes, detect modifications made outside approved deployment processes and flag policy violations. Where supported, configure alerts for significant deviations from the intended state.
  • Leverage runtime observability and anomaly detection: Use runtime security tools such as Cilium's Tetragon or Falco to detect suspicious behaviour, unusual process execution, unexpected file access and potential privilege escalation. Configure appropriate alerts and enforcement actions based on the risks identified.
  • Implement a zero trust mindset: Apply least privilege, network segmentation and just-enough access across namespaces, services and external integrations. Review permissions regularly and avoid granting workloads access to resources they do not need.
  • Stay on top of patching and versioning: Ensure clusters run supported Kubernetes versions and apply security patches promptly. Monitor the official Kubernetes release guidance and relevant security advisories to identify updates that require action.
  • Monitor supply chains and provenance: Use container image signing, provenance attestations and verification processes for CI/CD artefacts. Frameworks such as SLSA help organisations assess and strengthen the integrity of software build and delivery processes.
  • Evaluate advanced tooling and research: Consider emerging techniques such as automated Moving Target Defence (MTD), AI-assisted security hardening and fine-grained API filtering where they address a specific security need. Assess their maturity, compatibility and operational impact before deploying them in production.
  • Educate teams and establish governance: Security is not a single team's responsibility. Establish clear ownership, cross-team governance and ongoing security training for developers, platform engineers and operations teams. Make security responsibilities part of routine development and operational processes.

Securing Kubernetes

Kubernetes has changed how enterprises deploy and manage applications, allowing systems to scale, adapt to changing requirements and support distributed workloads. However, its complexity and distributed architecture also create security challenges. For CISOs, securing Kubernetes environments is a strategic necessity that directly affects business continuity, compliance and risk management.

Recent research highlights the scale of these challenges. Red Hat's 2026 State of Cloud-Native Security report found that 97 per cent of surveyed organisations experienced at least one cloud-native security incident in the previous year, while 74 per cent reported slowing or delaying application deployments because of security concerns.

Meanwhile, Wiz's 2025 Kubernetes Security Report found that newly created Azure Kubernetes Service (AKS) clusters faced their first attack attempt within an average of 18 minutes, while Amazon Elastic Kubernetes Service (EKS) clusters were targeted within 28 minutes. These findings highlight the importance of addressing security risks from the outset rather than waiting until workloads are in production.

A single misconfigured API, exposed dashboard or compromised third-party image can contribute to a wider breach or operational disruption. CISOs should therefore adopt a layered, defence-in-depth approach that combines strict access controls, encrypted secrets management, workload isolation, continuous monitoring and supply chain verification. Integrating these measures into DevSecOps practices helps embed security throughout development, deployment and runtime operations.

Ultimately, Kubernetes security is not just about protecting containers; it is about safeguarding the enterprise. By anticipating threats, enforcing appropriate policies and continuously monitoring for anomalies, organisations can reduce risk and build a more resilient foundation for business growth and innovation.