Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2567+ Articles
161+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2026-54523: Kyverno CEL Generator Bypasses Namespace Isolation
CVE-2026-54523: Kyverno CEL Generator Bypasses Namespace Isolation

Critical Security Alert

This vulnerability is actively being exploited. Immediate action is recommended.

SECURITYCRITICALCVE-2026-54523

CVE-2026-54523: Kyverno CEL Generator Bypasses Namespace Isolation

Critical Kyverno flaw lets a namespace-scoped policy invoke generator.apply() with an arbitrary namespace, creating RoleBindings in kube-system.

Dylan H.

Security Team

August 27, 2026
3 min read

Affected Products

  • Kyverno v1.18.0 - v1.18.2 (fixed in v1.18.2)

Overview

A critical vulnerability has been disclosed in Kyverno, the CEL and admission-control policy engine widely used to enforce guardrails on Kubernetes clusters. Tracked as CVE-2026-54523 (CVSS 9.6), the flaw allows a tenant who can only create policies inside their own namespace to force Kyverno's background controller to generate resources — including RoleBindings — in any namespace on the cluster, including kube-system.

In multi-tenant clusters where namespace-scoped policy authoring is delegated to individual teams, this collapses the isolation boundary Kyverno is meant to enforce.


Technical Details

FieldValue
CVE IDCVE-2026-54523
CVSS Score9.6 (Critical)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
CWECWE-862 — Missing Authorization
Attack VectorNetwork
Privileges RequiredLow (namespace-scoped policy author)
Affected Versionsv1.18.0 up to v1.18.2 (exclusive)
Fixed Version1.18.2
Published2026-08-26

How It Works

Kyverno's NamespacedMutatingPolicy CEL compiler exposes the generator library to matchConditions. That library provides a generator.apply(namespace, resources) function intended to create resources scoped to the policy's own namespace — but the compiler does not validate the namespace argument passed to it.

A user who can only create a NamespacedMutatingPolicy in their own namespace can write a matchConditions expression that calls generator.apply() with an arbitrary target namespace string. Kyverno's background controller then dutifully creates the specified resources — including RoleBindings — in that namespace, with no check that the calling policy is actually scoped there.

Because kube-system is a valid target string like any other, a low-privileged tenant can direct the controller to create a RoleBinding inside kube-system, opening a path to cluster-admin-level privilege escalation.


Impact

  • Namespace isolation bypass — the core guarantee of namespace-scoped policies (a tenant can only affect their own namespace) does not hold
  • Privilege escalation — RoleBindings created in kube-system or other privileged namespaces can grant a low-privileged tenant elevated cluster permissions
  • Multi-tenant blast radius — any cluster that delegates NamespacedMutatingPolicy authoring to individual teams or customers is exposed, not just clusters with malicious insiders — a compromised low-privilege service account is enough

No public proof-of-concept was available at time of disclosure, and there are no reports of in-the-wild exploitation.


Remediation

  • Upgrade to Kyverno v1.18.2 or later, which validates the namespace argument passed to generator.apply() against the policy's own namespace
  • Until patched, audit existing NamespacedMutatingPolicy and NamespacedGeneratingPolicy objects for matchConditions that reference generator.apply with a non-self namespace
  • Restrict who can create namespace-scoped policies via RBAC if immediate patching isn't possible
  • Review RoleBindings in kube-system and other sensitive namespaces for unexpected entries created by the background controller

References

  • NVD — CVE-2026-54523
  • GitLab Advisory Database — CVE-2026-54523
#Kyverno#CVE-2026-54523#Kubernetes#Cloud Security#Privilege Escalation#CEL#Policy Engine

Related Articles

CVE-2026-10059: Multicluster Engine ClusterCurator Token Escalation (CVSS 9.1)

A critical privilege escalation vulnerability in Red Hat's Multicluster Engine for Kubernetes allows a tenant administrator to exploit the ClusterCurator controller to mint cluster-scoped tokens, bypassing namespace isolation.

6 min read

Kubernetes Network Policies: Microsegmentation Guide

Implement network microsegmentation in Kubernetes with Network Policies. Covers default deny, allow rules, namespace isolation, egress policies, and debugging.

7 min read

CVE-2026-10090: Red Hat ACM Helm Channel Privilege Escalation (CVSS 9.9)

A critical privilege escalation flaw in Red Hat Advanced Cluster Management for Kubernetes allows a namespace-scoped user to hijack cluster-admin privileges by pointing a Channel resource at a malicious Helm repository.

5 min read
Back to all Security Alerts