Skip to main content
Close
Architecture

SAML: the 20-year legacy signing your SSO

Gabriel Ferraresi· CEO | Tech86October 17, 20263 min
samlssoauthenticationarchitectureprotocols

The entire corporate SSO signs a 2005 protocol, and someone just said it out loud.

Trail of Bits published in September a structural critique of SAML, the protocol behind enterprise identity federation: decades of extensions and compatibility keeping alive a format whose core, XML signing, is notoriously delicate. The critique circulated widely and reignited the debate about what authenticates practically every company.

Why signing XML is structural debt

SAML signs XML documents, and signing XML depends on canonicalization: turning the document into a unique form before verifying the signature. The protocol’s history is dotted with failures exactly at that boundary, the signature-wrapping attacks where a valid signature covers content other than intended.

It is not one patchable flaw: it is the structural fragility of the design, which every implementation must get right every time. That is why Trail of Bits’ critique matters: it does not point at a hole, it points at the material the fence is made of.

The IdP is the crown jewel that never enters the pentest

The practical consequence of SAML being everywhere and rarely examined: the identity provider (IdP) signs who you are in every system of the company. Compromise the IdP, and all doors open together, with logins that look legitimate because they are.

And it matches the profile of the most critical and least watched asset: decision infrastructure, not load infrastructure. Nobody runs applications on the IdP, so it leaves the pentest scope, the fine monitoring, and the trust inventory. Its decision is binary, and its scope is empty.

The trust mesh nobody inventories

SSO grows for years without central review. Every integration adds a federation: who trusts whom, with which certificate, with what validity. Inventorying that mesh is what reveals the classic findings: expired certificates, orphaned trusts from decommissioned systems, forgotten service accounts with admin access.

It is the same periphery-audit exercise: the surface nobody watches is the one accumulating the data (or the power) the attacker wants. SSO concentrates the company’s whole identity power in a mesh that grew by accretion.

What to do: four moves

  1. Treat the IdP as crown jewel: emergency patching, MFA on administrative access, assertion-issuance monitoring, and account reviews.
  2. Inventory the trust mesh: every federation with an owner, a certificate, and a validity; orphans decommissioned.
  3. OIDC for new integrations: signed tokens without XML’s pitfalls; SAML where legacy mandates, OIDC where the choice is free.
  4. SSO in the offensive scope: assertion flow, response handling, and signatures reviewed with the core’s energy.

Conclusion

Trail of Bits’ critique does not condemn SAML: it condemns the idea that a 2005 protocol signing 2026 identity can stay outside the review ruler.

For anyone designing authentication today, the summary is short: the IdP is a crown jewel, the trust mesh is a mandatory inventory, new integrations are born in OIDC, and SSO enters the offensive scope. An identity protocol decides who is who across the whole company; design debt there is debt at every door.

Interested in this solution?

Explore our managed services and infrastructure.

Offensive Security and protocol review

Frequently Asked Questions

In September 2026, Trail of Bits published a structural critique of SAML, the protocol behind corporate SSO, reading the design as accumulated debt: decades of extensions and compatibility keeping alive a format whose core (XML signing) is notoriously delicate. The critique circulated widely and reignited the debate about the protocol authenticating the enterprise.

Because signed XML depends on canonicalization (turning the document into a unique form before verifying the signature), and SAML’s history is dotted with failures at that boundary: signature-wrapping attacks where a valid signature covers content other than intended. The problem is not one patchable flaw, it is the structural fragility of a design every implementation must get right every time.

It is not an insecurity verdict: mature, well-maintained implementations have run SAML at scale for decades. The critique’s message is architectural: the protocol carries design debt demanding permanent attention, and new integrations have a simpler alternative in OIDC/OAuth 2.0. The decision is contextual: legacy mandates SAML, new integration asks for OIDC.

It is the set of federations the IdP maintains: every system trusting its assertions, with which certificate and which validity. It grows for years without central review, and it is where expired certificates, orphaned trusts of decommissioned systems, and forgotten service accounts hide, the inventory nobody runs until the incident.

For the same reason as [the network controller](https://www.tech86.com.br/en/blog/cisco-ise-zero-day-cvss-10-bypass-autenticacao): it is decision infrastructure, not load infrastructure. Nobody runs applications on it, so it leaves scope. But its decision is binary: whoever signs identity signs everything. SSO in the pentest scope is the design fix the Cisco case and Trail of Bits’ critique point to together.

Blog, Get in Touch

Have a question about our articles or services? Our team is ready to help.

Schedule a Meeting

Book a time slot.

Schedule Now

Email

Send us a message.

[email protected]

WhatsApp

Quick conversation.

Address

Avenida Paulista, 1636 - São Paulo - SP - 01310-200

Tech86 Specialist

Online now

Hello! How can we help scale your business today?

Tech86 Engineering

We Value Your Privacy

We use cookies and similar technologies to optimize your experience, analyze site traffic, and personalize content. By clicking "Accept All", you agree to the use of all cookies. Read our Privacy Policy.