Improper Verification of Cryptographic Signature in gosaml2 - CVE-2020-29509
Published: December 14, 2020 / Updated: April 28, 2026
gosaml2
Russell Haering
Description
The vulnerability allows a remote attacker to bypass authentication.
The vulnerability exists due to improper verification of signed XML content in SAML response processing when handling a valid SAML response containing mutated XML content. A remote attacker can modify the XML document so that the library trusts a different portion of the document than was signed to bypass authentication.
Depending on the service provider implementation, the issue may also allow access to an account other than the one authenticated at the identity provider.