Intel

AIKIDO-2026-73012

litesaml/lightsaml is vulnerable to Improper Verification of Cryptographic Signature

CVE-2026-63182Published 6 days ago
November 4, 2026

81

CVE Score

High

Improper Verification of Cryptographic Signature

Are you affected? Scan for Free

TL;DR

Before the fix, SignatureXmlReader::validate() only checked the digest and signature that xmlseclibs resolved with a document-wide ID lookup, with no check that the signature Reference URI points to the element containing the signature. A client who could submit one captured genuine signed assertion could bury its bytes in samlp:Extensions and add a forged unsigned assertion with the same ID and a copied signature; validation passed on the hidden signed bytes while the unsigned forged claims were consumed by services that validate inbound SAML response assertions. The fix rejects responses whose signature Reference URI does not match the enclosing element's ID or whose ID appears more than once in the document.

How do I fix this?

Upgrade the litesaml/lightsaml package to a fixed release on your branch: 5.0.1, 4.7.1.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and validate inbound SAML response assertions through SignatureXmlReader::validate() in a service that accepts SAML responses from external clients.

Versions

4.0.0 - 4.7.0

Fixed in 4.7.1

5.0.0 - 5.0.0

Fixed in 5.0.1

Background info

litesaml/lightsaml is vulnerable to Improper Verification of Cryptographic Signature in versions 5.0.0 - 5.0.0 and 4.0.0 - 4.7.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea