← Lab /Security & privacy

Root on a Kubernetes node lets attackers steal all SPIFFE workload identities

Any attacker with root access on a node can manipulate cgroup metadata to obtain the SVIDs of any co-located workload in SPIFFE/SPIRE.

Security & privacy Unit 42 10 Sep 2026 Attack Prototype evidence

Published as “The Machine With Many Faces: Post-Exploitation Identity Misuse in SPIFFE/SPIRE”

Why it matters

Compromise of a single node gives attackers all workload identities, enabling lateral movement without stealing secrets.

Summary

The researchers showed that a root-level attacker on a compromised Kubernetes node can spoof the cgroup path used by the SPIRE agent during workload attestation. By doing so, the agent is tricked into issuing the SVID of a victim workload to the attacker’s process. They built an open-source tool, Spooffe, that automates this selector spoofing to enumerate all workload identities on the node. The attack was demonstrated in a lab environment and no wild-world instances have been observed.

What they found 1

  1. Root can spoof cgroup information to obtain another workload's SVID

    “Our analysis revealed that workload attestation relies heavily on the workload’s cgroup path. An attacker with root access on the node can manipulate this cgroup path, potentially tricking the agent into believing the attestation claims belong to a different workload and obtain that workload’s identity.”

Caveats 3

  • Unit 42 has not observed this technique exploited in the wild.
  • This attack requires root-level access to the node.
  • The technique depends on the SPIRE agent using cgroup-based selectors for workload attestation.

What’s new here 4

  • Demonstrates cgroup-based selector spoofing to steal SPIFFE SVIDs.
  • Shows that node-level root compromise breaks workload identity isolation.
  • Introduces Spooffe, an open-source tool to automate identity extraction.
  • Highlights the critical trust assumption of node integrity in SPIFFE/SPIRE.