Security1 publisher2 min readPublished
Root on a Kubernetes node makes the SPIRE agent sign a neighbour's identity for you
Unit 42 showed that spoofing the cgroup data a SPIRE agent reads during workload attestation makes it hand over a co-located workload's SVID, and released a tool so defenders can size the loss per node.
The Watch · Security desk

What happened
- Unit 42 published research showing an attacker with root on a compromised Kubernetes node can misuse SPIFFE/SPIRE to impersonate co-located workloads and harvest their identity documents.
- Unit 42 says it has not seen the technique used in the wild.
- Unit 42 released Spooffe, an open-source tool that automates the extraction so defenders can test whether administrative access retrieves co-located identities.
- Its guidance tells defenders to model root on a node as access to every cryptographic identity scoped to it, and lists node hardening, root restriction, no privileged containers or host access, and fewer weak selectors.
Compiled by The WatchSomething wrong?How this is made
Why it matters
- constraint Every measure on Unit 42's list is configuration or access control, not a fix version to schedule, which puts the work on platform and admission policy owners rather than on whoever tracks SPIRE releases.
- capability The impersonating process holds a credential the SPIRE authority actually signed, so mTLS peers checking it against the trust bundle have nothing to fail it on and detection has to move upstream to the attestation event.
- decision Teams that retired long-lived secrets to close Secret Zero now have to price node trust explicitly, because the assurance a short-lived workload credential offers ends at the moment someone holds root on the box issuing it.
Workload attestation is the step that carries the weight here. When a process asks the SPIRE agent for an identity, the agent decides which SPIFFE ID that process is entitled to, and according to Unit 42 it makes that call in part on the Linux cgroup information reported for the caller [3]. Root controls that information. Spoof it and the agent issues a co-located workload's SVID to the attacker's process [3]. The credential that comes back is issued by the legitimate SPIRE authority, so a peer validating it against the trust bundle sees the neighbour's identity and nothing out of place [13].
SPIFFE exists to remove the bootstrap secret, the Secret Zero problem [8], and it does that by replacing long-lived credentials with short-lived, cryptographically verifiable ones [7]. Short lifetimes bound the value of any single harvested SVID but not the access it grants: while root persists on the node, the attacker re-attests and collects a fresh document each cycle, which turns a one-time key theft into a standing subscription [14].
The selector design is where the engineering sits, and Unit 42's mitigation list says as much when it tells operators to minimize reliance on weak selectors [5]. Attestation is only as strong as the properties the agent can verify independently of the caller, and a cgroup path is read through a kernel view that node root can shape [3].
Spooffe, the tool Unit 42 built and published, automates the extraction [4]. For defenders it is a measurement of the identity area of impact on a given node [4]. For anyone who already holds root there, it removes the tooling step.
Unit 42 reports no observed use in the wild [2], which puts this in a clear place in the queue: root on the node is the precondition, so every remotely exploitable path to node root outranks it [16]. What changes is scoping: after a node compromise, the relevant question is which identities its agent would sign for anything that asked, not which secrets sat on that box [15].
What to watch
- A first in-the-wild sighting, or SPIRE server telemetry showing one node attesting for identities it has no workload for.
- SPIRE release notes or upstream guidance that add attestation properties node root cannot forge, and a definition of which selectors count as weak.
- Spooffe appearing inside general-purpose Kubernetes post-exploitation kits rather than only in defender testing.