Subscribe to the Non-Human & AI Identity Journal

Golden SAML

Golden SAML is an attack in which an adversary obtains the SAML signing key or equivalent trust material and forges assertions that service providers accept as legitimate. It bypasses the identity provider’s normal authentication flow and can impersonate any user across federated applications.

Expanded Definition

Golden SAML is not a password theft event in the usual sense. It is a trust compromise in which an attacker obtains the SAML signing key, certificate, or equivalent trust material and then forges assertions that downstream service providers accept as legitimate. The result is durable impersonation across federated applications, even when multifactor authentication is enabled at the identity provider.

In NHI security, the term matters because the compromised asset is often a non-human trust anchor, not an end-user credential. Definitions vary across vendors on whether any forged federation token qualifies as Golden SAML, but the operational meaning is consistent: if the signing path is captured, the attacker can mint identities at will. That is why the event sits at the intersection of federation, secrets management, and privileged access management, and why guidance from NIST Cybersecurity Framework 2.0 is useful for mapping identity trust dependencies. The most common misapplication is treating it as a generic SSO outage, which occurs when teams rotate user passwords but leave federation signing material untouched.

Examples and Use Cases

Implementing federation rigorously often introduces recovery complexity, requiring organisations to balance fast access for users against tighter control of signing keys and certificate lifecycle management.

  • A threat actor steals the SAML token-signing key from an identity provider backup and uses it to create assertions for a finance executive account.
  • A compromised build server exposes federation trust material, allowing an attacker to impersonate a service account across multiple SaaS applications.
  • A poorly segmented admin workstation leaks certificate files, and the attacker forges access into a cloud console without triggering interactive login checks.
  • An incident review links the attack path to secret sprawl, similar to lessons seen in the Hugging Face Spaces breach, where exposed credentials and trust artifacts amplified blast radius.
  • Federated access becomes safer when assurance models are aligned with NIST Cybersecurity Framework 2.0 and certificate handling is treated as a controlled NHI workflow rather than an IT convenience.

The practical use case is usually incident response: security teams test whether a forged assertion can bypass conditional access, whether service providers validate issuer trust correctly, and whether revocation is fast enough to matter after compromise.

Why It Matters in NHI Security

Golden SAML is dangerous because it turns one stolen secret into organisation-wide impersonation. Unlike a single leaked API key, a captured federation signing key can unlock many applications at once, including systems that hold sensitive data, administrative privileges, or automation rights. That makes the event a classic NHI failure mode: the attacker is no longer logging in as a user, but manufacturing trust.

This is why the governance impact is severe. NHI Mgmt Group research shows that 97% of NHIs carry excessive privileges, which means a compromise of federation trust material can combine with overbroad access to produce rapid lateral movement. Strong controls should therefore pair secrets inventory, key rotation, certificate protection, and monitoring of federation events with broader Zero Trust thinking. The same risk pattern also appears in real-world credential exposure cases such as the Hugging Face Spaces breach, where access material became the path to broader compromise.

Organisations typically encounter the full impact only after a suspicious login or impossible-to-explain data access event, at which point Golden SAML becomes operationally unavoidable to address.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-02 Covers improper secret handling and trust material exposure in NHI environments.
NIST CSF 2.0 PR.AA-05 Addresses identity proofing and authentication trust across federated systems.
NIST Zero Trust (SP 800-207) Section 2.1 Zero Trust requires continuous verification rather than blind acceptance of signed assertions.

Validate federation trust paths, monitor assertion integrity, and revoke compromised signing material quickly.