Improper Check for Unusual or Exceptional Conditions in gosaml2 - #VU128390
Published: April 28, 2026
gosaml2
Russell Haering
Description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to improper handling of empty decrypted data in DecryptBytes() when processing a crafted encrypted SAML response over HTTP POST to the ACS endpoint. A remote attacker can send a specially crafted encrypted assertion to cause a denial of service.
Exploitation requires the service provider to have encrypted assertion support configured, and no valid signature is required because decryption occurs before assertion signature validation.