Dev48
Language
  • About
  • Services
  • Industries
  • Technologies
  • Articles
  • Contacts
Book a call
    Home/Articles/Kubernetes 138 new security features
Dev48
info@dev48.org+375 29 320-40-96WhatsApp@isky_by

© 2026 · All rights reserved.

Kubernetes 1.38 - New security features

Source: Sysdig•December 3, 2026 at 03:58 PM

Kubernetes 1.38 - New security features

Here are the security implications of Kubernetes 1.38, including new cgroups security features, fine-grained authorization, Pod network isolation, and more.

Kubernetes 1.38 will be out soon, bringing 69 enhancements.

In terms of security, we’ve identified 18 changes with security implications spanning updates to cgroups, fine-grained authorization with conditions, network-isolated Pods, and more.

Let’s dig in!

Security changes in Kubernetes 1.38 that may break things

These are some old deprecations you should also keep in mind when upgrading to Kubernetes 1.38:

  • #4006: WebSockets replacement of SPDY is now stable and cannot be disabled; your RBAC policies may need updating.
  • #4858: The stricter validation of IP/CIDR is not stable.
  • #3104: Using name as an alias for command in kubectl plugin allowlist config is deprecated.

Check for more breaking changes.

As usual, this new Kubernetes release brings several enhancements that expose new data to the API. This includes:

This data is usually meant for cluster administrators to help monitor the health of the cluster, make decisions, or troubleshoot issues.

⚠️ However, this extra data may also help attackers to understand your infrastructure better.

✅ Review who has access to the API to ensure they are accessing only the data they need.

Net new security enhancements in Kubernetes 1.38

#5474 Enable writable cgroups for unprivileged containers

SIG group: sig-nodeStage: Net New to AlphaFeature Gate: CgroupOptions Default: false

Containers that need it can now create their own cgroups without the need to run as privileged.

Commonly, cgroups are used to enforce Pod limits and requests. However, some containers apply extra memory and CPU limits to their own workloads. Up until now, they needed to run in privileged mode to do so, turning off most of the container’s isolation from the host.

ℹ️ Enable this behavior with mountMode: ReadWrite:

#5681 Conditional Authorization

SIG group: sig-authStage: Net New to AlphaFeature Gate: ConditionalAuthorization Default: false

With this enhancement, authorizers can enforce more fine-grained access policies like "allow user Alice to create PersistentVolumeClaims, but only when the storage class name is 'dev'".

A webhook would receive a request like this. By including the "ConditionsMap" value in authorizationOptions, the client indicates that they can understand conditional authorization:

The webhook can then respond with a ConditionsMap with several conditions:

ℹ️ Check the KEP for a rationale on the changes and implementation details, or this Doc diff to preview the new options.

#5714 Allow specifying whether to unshare cgroup namespaces

SIG group: sig-nodeStage: Net New to AlphaFeature Gate: CgroupNamespacesSupport Default: false

With this enhancement, privileged Pods can unshare cgroup namespaces to make resource accounting and enforcement accurate. By default, cgroup namespaces are already unshared in non-privileged Pods.

ℹ️ Turn this on with hostCgroupNamespace: true on a PodSpec.

⚠️ Turning this on will make other cgroups visible to the Pod; use with caution.

#6011 CSI ControllerGetNodeInfo

SIG group: sig-storageStage: Net New to AlphaFeature Gate: CSIControllerGetNodeInfo Default: false

The NodeGetInfo endpoint sometimes needs cloud credentials on every node to return some CSI driver information, like the maximum number of attachable volumes. This raises some security alerts, so cluster administrators often have to decide between security and accurate data.

A new ControllerGetNodeInfo endpoint can provide this information from the driver’s controller, so plugins in the nodes no longer need cloud API credentials.

ℹ️ Wait for configuration updates on future versions of your CSI drivers.

#6061 OCI artifact-based security profile distribution

SIG group: sig-nodeStage: Net New to AlphaFeature Gate: SecurityProfileOCI Default: false

This enhancement allows cluster administrators to distribute security profiles from OCI-compatible registries.

This new mechanism reuses the existing infrastructure for the container images that the policies are meant to secure, and provides tools for robust distribution and policy version control.

The alpha version currently supports seccomp filters. AppArmor support will come in a future version.

Policies are declared as:

ℹ️ Check more details in the KEP.

#6264 Configurable etcd object compression for kube-apiserver storage

SIG group: sig-api-machineryStage: Net New to Alpha

Starting with Kubernetes 1.38, it is possible to compress etcd objects. Reducing the database size can make backup and recovery processes faster.

ℹ️ This process is controlled via a StorageCompressionConfiguration:

⚠️ This compression takes place before encryption. This may provide some hints to attackers; read more in the Risk and Mitigations section of the KEP.

#6283 Leveraging certificate APIs in the platform

SIG group: sig-authStage: Net New to AlphaFeature Gate: ClusterTrustBundleSelector Default: falseFeature Gate: KubeServingCertificatesSigner Default: falseFeature Gate: KubeAPIServerWorkloadsTrust Default: false

This enhancement leverages the work done in #3257 ClusterTrustBundles and #4317 Pod Certificates to provide a built-in server TLS for service DNS names. This translates into a new easy-to-use signer for server identities for Pods and Services in the kubernetes.io/service-serving API.

ℹ️ Check more details in the doc.

#6313 Network-isolated Pods

SIG group: sig-networkStage: Net New to AlphaFeature Gate: NetworkIsolatedPods Default: false

It is now possible to isolate Pods from the default network, reducing their attack surface when they don’t need network access.

This is useful for scenarios like AI training, where the Pods only need to communicate with the DRA driver, or workloads that process sensitive data mounted from volumes.

✅ Isolate Pods when possible with podNetwork: Isolated:

Honorable mentions

Kubernetes 1.38 brings some enhancements to resiliency and resource limits that are tangentially related to security.

For example, #5758 Per-container ulimits configuration and #6063 Configuration for per-pod PID limit give cluster administrators more tools to fine-tune Pod resource usage, limiting the damage a compromised container could cause.

In a similar fashion, #6315 Weighted load balancing for kube-apiserver and #6361 Controller leader election recovery speed up recovery times in certain failure scenarios, making Kubernetes clusters more resilient.

Kubernetes 1.38 will enable these security features by default

#4939 Support TLS credentials in gRPC probe

SIG group: sig-nodeStage: Graduating to BetaFeature Gate: GRPCContainerProbeTLS Default: true

Since 1.37, Kubernetes is able to probe gRPC health servers that require TLS natively. Before, you had to work around this by using an exec probe that would execute a command.

ℹ️ Read more in Kubernetes 1.37 - New security features

#5502 Add stickyBit support for emptydir volumes

SIG group: sig-storageStage: Graduating to BetaFeature Gate: EmptyDirVolumeMode Default: true

This enhancement allows you to create an EmptyDirVolumeSource with a permission mode between 0000 and 01777, instead of the default 0777.

ℹ️ Read more in Kubernetes 1.37 - New security features

#5793 Manifest-based admission control config

SIG group: sig-api-machineryStage: Major Change to BetaFeature Gate: ManifestBasedAdmissionControlConfig Default: trueFeature Gate: ExcludeAdmissionWebhookVirtualResources Default: true

This change aims to move the admission control configuration, currently stored in etcd, to file-based manifests in the kube-apiserver.

In Kubernetes 1.37, admission webhooks also exclude non-persisted (virtual) authentication and authorization resources, such as TokenReview and SubjectAccessReview.

In Kubernetes 1.38, you can configure the order of mutating webhooks via the staticOrder field. By default, it runs manifest-based webhooks first (StaticFirst); it can also run them after all the API-based ones, or just run all webhooks in alphabetical order.

ℹ️ Read more in Kubernetes 1.36 - New security features

#5936 Add user fields to atomic write volumes

SIG group: sig-storageStage: Graduating to BetaFeature Gate: AtomicWriteVolumeUserFields Default: true

You can now restrict the ownership of atomic write volumes’ files like those from ConfigMap, Secret, DownwardAPI, and Projected volumes.

ℹ️ Read more in Kubernetes 1.37 - New security features

Kubernetes 1.38 changes in other existing features

#6060 API server authentication to webhooks

SIG group: sig-authStage: Major Change to AlphaFeature Gate: APIServerAuthenticationToWebhooks Default: false

With this enhancement, kube-apiserver will authenticate to admission webhooks by default, preventing attackers with network access from probing webhooks for policy information, triggering unintended side effects, or exploiting the webhook’s permissions.

ℹ️ Check the KEP for implementation details on the JWT payloads and the authentication flows.

ℹ️ Read more in Kubernetes 1.37 - New security features

#3104 Separate kubectl user preferences from cluster configs

SIG group: sig-cliStage: Graduating to Stable

Starting in Kubernetes 1.35, a new kuberc configuration file cleanly separates cluster credentials and server configurations from user-specific preferences.

⚠️ Important change from alpha: The name field that was considered an alias of the command is now deprecated.

ℹ️ Read more in Kubernetes 1.36 - New security features

#3157 Allow informers for getting a stream of data instead of chunking

SIG group: sig-api-machineryStage: Graduating to Stable

This enhancement provides WATCH requests to stream data as an alternative to polling with LIST requests. This solves an edge case that could enable OOM attacks against large Kubernetes clusters.

ℹ️ Read more in Kubernetes 1.27 - What’s New?

Wrapping things up

If you liked this, you might want to check out our previous “What's new in Kubernetes” editions:

  • Kubernetes 1.37 - New security features
  • Kubernetes 1.36 - New security features
  • Kubernetes 1.35 - New security features
  • Older releases: 1.33, 1.32, 1.31, 1.301.27, 1.26, 1.25, 1.24, 1.23, 1.22, 1.21, 1.201.19, 1.18, 1.17, 1.16, 1.15, 1.14, 1.13, 1.12
  • 1.33, 1.32, 1.31, 1.30
  • 1.27, 1.26, 1.25, 1.24, 1.23, 1.22, 1.21, 1.20
  • 1.19, 1.18, 1.17, 1.16, 1.15, 1.14, 1.13, 1.12

Get involved with the Kubernetes project:

  • Visit the project homepage.
  • Check out the Kubernetes project on GitHub.
  • Get involved with the Kubernetes community.
  • Meet the maintainers on the Kubernetes Slack.
  • Follow @Kubernetes.io on Bluesky.
← All articles

What this article says

More in Cloud & Infrastructure

All →
I took quantum computing research to an AI conference. Here’s what I learned.
Atos

I took quantum computing research to an AI conference. Here’s what I learned.

Root Cause Agent meets AWS DevOps Agent: two investigations, one answer • Sumo Logic
Sumo Logic

Root Cause Agent meets AWS DevOps Agent: two investigations, one answer • Sumo Logic

Project Quantum Leap: Cloudflare will be fully post-quantum in 2027
Cloudflare

Project Quantum Leap: Cloudflare will be fully post-quantum in 2027

Amazon and Blue Origin sign 120-launch contract to deploy more than 5,000 next-generation Leo satellites
Amazon

Amazon and Blue Origin sign 120-launch contract to deploy more than 5,000 next-generation Leo satellites

Red Hat named a Leader in The Forrester Wave™: Infrastructure Automation Platforms, Q4 2026
Red Hat

Red Hat named a Leader in The Forrester Wave™: Infrastructure Automation Platforms, Q4 2026

Microsoft announces quarterly dividend
Microsoft

Microsoft announces quarterly dividend

More from Sysdig

How “don’t ask again” in Claude Code leaks secrets on GitHub: The click that keeps on giving
Sysdig

How “don’t ask again” in Claude Code leaks secrets on GitHub: The click that keeps on giving

ARTEX, and the offensive tool powered by LLMjacking five months earlier
Sysdig

ARTEX, and the offensive tool powered by LLMjacking five months earlier

Who's accountable when the worker is an agent?
Sysdig

Who's accountable when the worker is an agent?

Runtime security for Amazon EKS Auto Mode with Sysdig
Sysdig

Runtime security for Amazon EKS Auto Mode with Sysdig

NGINX2Root: Five RCE bugs in NGINX, a Linux kernel path to root, and how to detect exploitation
Sysdig

NGINX2Root: Five RCE bugs in NGINX, a Linux kernel path to root, and how to detect exploitation

Announcing the Sysdig MCP Server for Monitoring
Sysdig

Announcing the Sysdig MCP Server for Monitoring