VOOZH about

URL: https://thenewstack.io/kubernetes-user-namespace-security/

⇱ Kubernetes finally lands user namespace support, but shared kernel problem remains - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2026-05-06 10:50:05
Kubernetes finally lands user namespace support, but shared kernel problem remains
sponsor-edera,sponsored-post-contributed,
Cloud Native Ecosystem / Kubernetes / Security

Kubernetes finally lands user namespace support, but shared kernel problem remains

User namespaces are here, but true security isolation is still out of reach. Discover why the shared kernel remains a persistent threat.
May 6th, 2026 10:50am by Kaylin Trychon
👁 Featued image for: Kubernetes finally lands user namespace support, but shared kernel problem remains
Andania Humaira for Unsplash+
Edera sponsored this post.

Kubernetes shipped a long-awaited security feature last week: user namespace support for pods.  It may sound like an obscure feature in a 1.36 release, but it represents progress against a specific class of privilege-escalation attacks in cloud-native environments. User namespaces can reduce the impact of certain container escapes by preventing a root process inside a pod from being treated as a root on the host.

User namespaces reinforce a pattern that has existed since Docker’s early design decisions: running containers as root by default. That choice was never about security; it was about usability. Most workloads don’t require root privileges at all, but the ecosystem evolved around that assumption. User namespaces make this safer in a narrow sense, but they also make it easier to justify continuing the pattern rather than eliminating it.

“User namespaces make this safer in a narrow sense, but they also make it easier to justify continuing the pattern rather than eliminating it.”

But in the announcement blog post, the claim that “we finally reached the point where ‘rootless’ security isolation can be used for Kubernetes workloads” is, in my view, misleading.  It’s important to understand that while user namespaces can remap root to an unprivileged identity on the host, you are far from declaring security isolation victory if you are still sharing kernels in your Kubernetes environment.

What ser namespaces actually do

The mechanism is straightforward: when pod sets hostUsers: false, the container’s root user (UID 0) is remapped to an unprivileged user ID on the host. A process that believes it is running as root is, from the host kernel’s perspective, nobody in particular. 

If that process escapes the container boundary, it carries no administrative power over the underlying node. Capabilities like CAP_NET_ADMIN become scoped to the container’s namespace rather than the host. That’s genuinely useful.

The Kubernetes team points to several HIGH and CRITICAL CVEs that user namespaces would have mitigated. That’s accurate. Lateral movement between pods also becomes harder when each pod’s UIDs and GIDs map to non-overlapping ranges on the host.

But the blog post, in my view, fails to grapple with the fundamental architectural limitation that user namespaces cannot solve.

The shared kernel is still the elephant in the room

User namespaces remap identities. They do not isolate the kernel.

User namespaces remap identity, but they also expand the kernel attack surface reachable by unprivileged workloads. Features that were previously restricted to privileged contexts become accessible through the namespace abstraction. This is why user namespaces so frequently appear as a prerequisite in modern kernel exploit chains: they don’t introduce vulnerabilities, but they make existing ones reachable.

Every container on a Kubernetes node – regardless of hostUsers: false – shares the same Linux kernel as every other container on that node. The kernel handles all syscalls. It manages memory, networking, devices, and scheduling. It is the common substrate beneath every workload, and it is accessible from every container.

This means a kernel exploit bypasses user namespace isolation entirely. If an attacker finds a vulnerability in a kernel subsystem — and the Linux kernel’s CVE history makes clear these are found regularly — user namespaces don’t enter the picture. The attacker is operating at a layer below where user namespace protections exist.

The announcement post acknowledges that a “process running as root inside a container is also seen from the kernel as root on the host” without user namespaces, and positions user namespaces as the fix. But the fix addresses the UID layer, not the kernel attack surface. Those are different problems. Conflating them can mislead operators into believing their multi-tenant workloads are more isolated than they actually are.

This is not a theoretical risk. Multi-tenant Kubernetes environments — cloud providers, AI platforms, SaaS companies running workloads from different customers on shared nodes — face real adversaries with motivation to find and exploit kernel vulnerabilities. User namespaces reduce the blast radius of certain container escapes. 

The risk is that they are interpreted as a comprehensive isolation boundary when they are in fact a targeted mitigation layered on top of a shared kernel model. They do not change the shared-kernel threat model.

Why this distinction matters now

If the Kubernetes announcement is a reason for measured optimism, the emergence of AI-assisted exploit development is a reason for urgency.

Earlier this month, Anthropic announced Mythos – an AI model capable of autonomously identifying zero-day vulnerabilities across all major operating systems and browsers. Sophisticated exploit chains that previously required weeks of skilled human research can now be generated autonomously, iterated rapidly, and targeted at infrastructure designed under the assumption that finding such vulnerabilities was hard.

The implications are direct. Kernel vulnerabilities – the exact class of bug that bypasses user namespace protections entirely – are among those Mythos targets. The model autonomously obtained local privilege escalation on Linux. These are not theoretical attacks. They are the operational reality that cloud-native infrastructure is now being evaluated against.

“This is what makes the shared kernel the Achilles’ heel of cloud-native security.”

This is what makes the shared kernel the Achilles’ heel of cloud-native security.

The architecture that actually solves this problem

The shared kernel gap that user namespaces leave open is precisely what hardware-level virtualization closes.

A small number of security-focused infrastructure vendors have approached the problem differently. Rather than layering namespace controls on top of a shared kernel, they interpose a hypervisor boundary between workloads and the host – meaning each workload gets its own isolated kernel, and a vulnerability in one cannot reach another regardless of privilege level.

Edera takes this approach. Built on a Type 1 Xen-based hypervisor rewritten in Rust, Edera provides hardware-enforced isolation for containers and GPU workloads in Kubernetes environments. Each workload runs in its own VM boundary, not merely its own namespace. A kernel exploit inside a container doesn’t have a path to the host or to adjacent workloads – because there is no shared kernel to exploit.

Where user namespaces offer a meaningful incremental improvement in Kubernetes’ built-in security posture, Edera offers a categorically different threat model: one that treats the kernel itself as untrusted rather than merely restricting what a compromised process can do within it. 

For organizations running genuinely multi-tenant workloads – AI inference pipelines, untrusted code execution, regulated data environments – that distinction isn’t subtle. It’s the difference between reducing the blast radius and eliminating the blast path entirely. 

When the threat timeline compresses from weeks to hours, reactive security loses. Detect-and-respond assumes you have a moment to respond. Proactive architecture assumes you don’t.

The Kubernetes community has moved the security baseline forward with v1.36. That matters. But user namespaces don’t change the fundamental trade-off: a shared kernel remains a shared point of failure, and abstractions that make root safer do not eliminate the risks of running with elevated privilege in the first place.

Changing how root behaves is not the same as changing what it can reach. Until the boundary moves below the kernel, the failure mode stays the same.

Edera reimagines container runtime, bringing resource optimization to workloads without disrupting developer workflows. We’ve redesigned the core architecture: solving from the hardware up, not software down. Our approach bridges the gap between how containers ship and how they should run.
Learn More
The latest from Edera
TRENDING STORIES
Kaylin Trychon is chief marketing officer at Edera and a seasoned cybersecurity executive specializing in cloud native security, threat intelligence and Kubernetes development. Prior to joining Edera, she held leadership positions at Chainguard and Google.
Read more from Kaylin Trychon
Edera sponsored this post.
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Docker, Anthropic.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.