Security

What Shielder Researchers Said About Kubernetes’ Non-Core Layer

In a CNCF-backed assessment published November 10, 2026, Shielder and OSTIF evaluated roughly 96 non-core Kubernetes projects—reporting 19 findings across Pod Security Standards AppArmor profiles, Windows node NTLM coercion, Image Builder credentials, and Cluster API template handling.

By 0xScorPionSon

8 min read

What Shielder Researchers Said About Kubernetes’ Non-Core Layer

Kubernetes Non-Core Security Audit architecture showing API Server shield, Cluster API, Windows CSI, and AppArmor Pod Security

Executive Summary

  • Audit scope and publication (November 10, 2026): Commissioned by the Open Source Technology Improvement Fund (OSTIF) and the Cloud Native Computing Foundation (CNCF) starting in February 2025, security researchers at Shielder audited Kubernetes' non-core ecosystem—16 high-priority and roughly 80 low-priority components—and published their findings on November 10, 2026 (Shielder Audit Report, OSTIF News).
  • Severity and remediation breakdown: Researchers reported 19 findings (4 High, 5 Medium, 7 Low, and 3 Informational); at publication, 4 were fixed, 4 had fixes pending, 5 were under triage, 5 were suggested for public issues, and 2 were marked won't fix, meaning several issues remained open (Shielder Audit Report).
  • Key architectural takeaway: Even when core control-plane binaries (kube-apiserver, kubelet) are hardened, trust-boundary assumptions break at integration seams—specifically OS-level AppArmor profile aliases under Pod Security Standards (PSS), Windows node symlink resolution, cluster provisioning CLIs, and third-party image build scripts (Shielder Audit Report, Kubernetes PSS Docs).

Trust Model and Non-Core Attack Surface

Previous third-party Kubernetes security audits concentrated on core control-plane components such as kube-apiserver and kubelet (Shielder Audit Report). However, production clusters depend heavily on what Kubernetes SIG Security classifies as "non-core" ecosystem projects: cluster lifecycle tooling (clusterctl / Cluster API), node-level OS integrations (Windows CSI Driver, Linux cgroups v2 integration), image-building pipelines (image-builder), and admission policy assumptions (Shielder Audit Report).

flowchart TD
    Operator[Cluster Operator / CI] -->|clusterctl --flavor| CAPI[Cluster API Templates]
    Operator -->|image-builder scripts| VMImg[Windows OVA / Nutanix Image]
    PodSpec[Pod Manifest] -->|PSS Baseline Check| PSA[Pod Security Admission]
    PSA -->|Localhost AppArmor Profile| NodeLinux[Linux Node Runtime: runc/crun]
    PodSpec -->|volumeMounts.subPath| KubeletWin[Windows Kubelet / Get-Item]
    KubeletWin -->|Symlink Resolution| Outbound[Outbound Network / UNC Path]

To prevent "target-hopping" across ~96 independent repositories—many with distinct threat models, documentation gaps, and incompatible deployment topologies—Shielder adopted a divide-and-conquer methodology:

  1. Priority-tiered scoping: Kubernetes SIG Security split the ecosystem into 16 high-priority entries (full threat modeling, attack-surface mapping, and design/code review) and ~80 low-priority entries (lightweight triage) (Shielder Audit Report).
  2. Dynamic promotion on threat discovery: Each low-priority project was screened for overlap with high-priority components and real attack-surface exposure. Based on that triage, k0ps was promoted from low-priority to a full security review (Shielder Audit Report).
  3. Per-component threat models and labs: Because heterogeneous components (such as Windows CSI drivers versus Cluster API providers) cannot be tested inside a single generic cluster lab, each project received a dedicated threat model and test environment (Shielder Audit Report).

What Researchers and Analysts Found

Shielder researchers emphasized a recurring structural risk in Kubernetes' plug-and-play model: while first-party core repositories receive sustained scrutiny, privileged extensions and node-level drivers often run with root or host-level authority while being maintained by smaller SIG subprojects or external repositories (Shielder Audit Report). Across the engagement, researchers documented 19 findings (4 High, 5 Medium, 7 Low, 3 Informational), with Shielder's summary listing 20 tracking IDs across remediation states (4 fixed, 4 fix pending, 5 under triage, 5 suggested for public issues, and 2 won't fix) (Shielder Audit Report).

1. Pod Security Standards (PSS) Baseline AppArmor Bypass

Under Kubernetes' Pod Security Standards, the Baseline profile is designed to prevent known privilege escalations while preserving compatibility for standard workloads. For AppArmor, Baseline permits Undefined/nil, RuntimeDefault, or Localhost (which loads a profile present on the host node), with the implicit security guarantee that pods cannot run unconfined (Kubernetes PSS Docs, Shielder Audit Report).

Shielder researchers found that on Ubuntu, Debian, and derivative Linux distributions, standard userland AppArmor packages ship prebuilt profiles—specifically pointing to runc and crun profile definitions—that act as aliases to unconfined. Because PSS Baseline allows Localhost profile references without inspecting whether the target host profile actually constrains syscalls, a pod can reference one of those prebuilt profiles via Localhost and effectively run unconfined despite Baseline enforcement (Shielder Audit Report). Shielder noted that at the time of publication (November 10, 2026), this architectural gap still applied.

2. Windows Node NTLM Coercion via subPath (CVE-2026-76654)

When a Pod mounts a subdirectory of a volume using subPath, the kubelet must resolve symbolic links to verify that the target stays inside the volume root and does not escape onto the host filesystem (Shielder Audit Report). On Windows nodes, Shielder observed that kubelet delegates symlink resolution to the PowerShell Get-Item cmdlet.

If a subPath symlink resolves toward a UNC network path, Windows initiates outbound NTLM authentication toward that remote host, exposing NetNTLMv2 challenge-response material that can be relayed or cracked offline (Shielder Audit Report). Although CVE-2026-76654 was assigned and a patch was released (including in upstream Kubernetes 1.34.12, 1.35.9, 1.36.5, and 1.37.1 per Kubernetes CVE tracking), Shielder reported that reproducing their test case on a patched Windows node still triggered outbound NTLM authentication, prompting renewed maintainer investigation (Shielder Audit Report, Safeguard.sh Upgrade Guide).

3. Hardcoded Administrator Credentials in Image Builder (CVE-2025-7342)

While auditing image-builder scripts used to produce node VM images, Shielder discovered a hardcoded default Windows Administrator password embedded in OVA and Nutanix build scripts (Shielder Audit Report). Clusters provisioning Windows worker nodes from those prebuilt images exposed nodes with a publicly known administrator credential. The flaw was tracked as CVE-2025-7342 and remediated in kubernetes-sigs/image-builder#1800 (Shielder Audit Report).

4. Cluster API clusterctl Template Path Traversal

In Cluster API's CLI (clusterctl), operators generate cluster manifests via clusterctl generate cluster --flavor <name>, which retrieves provider YAML templates from GitHub (Shielder Audit Report). Researchers found that --flavor lacked path sanitization, allowing ../ traversal sequences to fetch and apply arbitrary YAML manifests from unintended GitHub repositories. Because a fix remained pending at publication, Shielder warned operators never to pass untrusted input into --flavor (Shielder Audit Report).

Confidence note: All finding counts, remediation states, and component behaviors are sourced directly from Shielder's November 10, 2026 summary and OSTIF's announcement; the full multi-project PDF/repository details for the remaining 15 findings were not individually enumerated in Shielder's summary post (high confidence on reported findings and status; partial visibility into the 15 unhighlighted findings).

Hardening and Implementation Blueprint

Because several findings remained unpatched or stem from OS-level defaults outside kube-apiserver, cluster operators should apply defense-in-depth controls at admission, host networking, and CI/provisioning boundaries.

1. Block Localhost AppArmor Aliases with ValidatingAdmissionPolicy

Pod Security Admission alone cannot distinguish a hardened Localhost AppArmor profile from an unconfined alias like runc or crun on Debian/Ubuntu nodes (Shielder Audit Report). Clusters running Kubernetes v1.30+ can enforce a ValidatingAdmissionPolicy (or equivalent Kyverno / OPA Gatekeeper rule) that restricts localhostProfile to an explicit allowlist of audited profiles rather than permitting arbitrary node-local profiles (Kubernetes PSS Docs):

apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingAdmissionPolicy
metadata:
  name: restrict-apparmor-localhost-profiles
spec:
  failurePolicy: Fail
  matchConstraints:
    resourceRules:
      - apiGroups: [""]
        apiVersions: ["v1"]
        operations: ["CREATE", "UPDATE"]
        resources: ["pods"]
  validations:
    - expression: >
        !has(object.spec.securityContext) ||
        !has(object.spec.securityContext.appArmorProfile) ||
        object.spec.securityContext.appArmorProfile.type != 'Localhost' ||
        object.spec.securityContext.appArmorProfile.localhostProfile in ['custom/hardened-app']
      message: "Pod-level AppArmor Localhost profile must be on the cluster allowlist."
    - expression: >
        object.spec.containers.all(c,
          !has(c.securityContext) ||
          !has(c.securityContext.appArmorProfile) ||
          c.securityContext.appArmorProfile.type != 'Localhost' ||
          c.securityContext.appArmorProfile.localhostProfile in ['custom/hardened-app']
        )
      message: "Container AppArmor Localhost profile must be on the cluster allowlist."

Operational trade-off: Adding a strict localhostProfile allowlist prevents workloads from accidentally (or maliciously) referencing host runc/crun aliases, but platform teams must maintain that allowlist whenever legitimate custom AppArmor profiles are rolled out to nodes.

2. Restrict Outbound NTLM/SMB on Windows Worker Nodes

For clusters running Windows worker nodes, Shielder explicitly advises restricting outbound NTLM connections from nodes (Shielder Audit Report). Platform teams should combine three controls:

  • Network egress blocking: Block outbound TCP port 445 (SMB) and 139 from Windows worker subnets at the cloud security group or host firewall layer so UNC path resolution cannot reach external hosts.
  • Windows NTLM restriction policy: Enforce Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers set to Deny all via Group Policy or node configuration baselines where SMB shares are not required.
  • Patch verification: Ensure Windows nodes run patched kubelet builds (1.34.12+, 1.35.9+, 1.36.5+, 1.37.1+) while retaining outbound NTLM blocks as a compensating control given Shielder's note on post-patch behavior (Shielder Audit Report, Safeguard.sh Upgrade Guide).

3. Provisioning Pipeline and Supply-Chain Controls

  • Audit image-builder versions and rotate credentials: Rebuild or replace any Windows OVA or Nutanix node images created with image-builder revisions prior to PR #1800, and inject unique per-node or cloud-init/unattend credentials at boot rather than baking static administrator passwords (Shielder Audit Report).
  • Sanitize clusterctl automation: In CI/CD pipelines or internal developer portals wrapping clusterctl generate cluster, enforce a strict regex allowlist (^[a-zA-Z0-9_-]+$) on --flavor inputs and never interpolate user-supplied strings into CLI flags (Shielder Audit Report).
  • Verify non-core CSI and driver provenance: As Shielder's conclusion highlights, third-party CSI drivers often execute as root on every node; pin container images by immutable SHA-256 digest and audit repository governance before installation (Shielder Audit Report).

Frequently Asked Questions

1. What does "non-core" mean in the OSTIF and Shielder Kubernetes audit?

"Non-core" is not a formal Kubernetes API boundary; it refers to ecosystem components and subprojects excluded from earlier audits of core binaries like kube-apiserver and kubelet—spanning 16 high-priority and ~80 low-priority projects across Cluster API, Windows CSI/node integrations, image builders, and policy layers (Shielder Audit Report).

2. Were all 19 findings patched before the report was published?

No. Shielder coordinated disclosure with the Kubernetes Security Response Committee (SRC) and SIG Security, but at publication on November 10, 2026, only 4 items were fixed; 4 had fixes pending, 5 were under triage, 5 were suggested for public issues, and 2 were marked won't fix (Shielder Audit Report).

3. Does Pod Security Admission Baseline block unconfined AppArmor profiles?

By design, Baseline aims to prevent unconfined execution, but it allows Localhost AppArmor profile references. Shielder showed that on Ubuntu and Debian nodes, prebuilt runc and crun AppArmor profiles act as aliases to unconfined, allowing a pod to bypass that guarantee unless restricted by an additional admission policy (Shielder Audit Report, Kubernetes PSS Docs).

4. Is patching kubelet enough to stop Windows subPath NTLM coercion (CVE-2026-76654)?

Shielder reported that reproducing their test case on a patched Windows node still triggered outbound NTLM authentication toward a remote host, so administrators using Windows nodes should restrict outbound NTLM/SMB traffic at the network and OS policy layers (Shielder Audit Report).

5. Who funded and coordinated the Kubernetes Non-Core Security Audit?

The engagement was funded and coordinated by the Open Source Technology Improvement Fund (OSTIF) and the Cloud Native Computing Foundation (CNCF), executed by Shielder starting in February 2025, and disclosed alongside the Kubernetes SRC and SIG Security Third-Party Security Audit group (OSTIF News, Shielder Audit Report).

Sources

  1. Shielder — Kubernetes Non-Core Security Audit (November 10, 2026)
  2. OSTIF — Kubernetes Audit Complete! (News Room) (November 10, 2026)
  3. Kubernetes Documentation — Pod Security Standards (Updated October 16, 2026)
  4. Safeguard.sh — Kubernetes 1.34 End of Life on 27 October 2026 (CVE-2026-76654 Patch Context) (October 18, 2026)

More on Security

Security

Inside NIST SP 800-82 Rev. 4: CSF 2.0, Zero Trust, and OT Trade-Offs

NIST SP 800-82 Revision 4 restructures operational technology security around CSF 2.0, replaces the classic five defense-in-depth layers, and expands Section 5.3 Zero Trust guidance. With public comments closing November 30, 2026, here is what changed, what independent analysts flagged, and how OT teams can harden management planes without breaking physical safety.

12 min read

Tell us what is not working

A thirty-minute call, no deck and no obligation. You will leave with a straight answer about whether this is worth building - including if that answer is no.

Start a project

Direct line

hello@codebumble.net
Dhaka, Bangladesh  :   local timeCalls in English or Bangla