An attacker needs only the service provider's public certificate to wrap a symmetric key, and no valid identity-provider signature or relationship is required.
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- 0.36%
- Published
- Nov 17, 2026
- In the news
- 1 story
What to do
A serious security flaw in Russellhaering Gosaml2 that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Russellhaering Gosaml2
- < 0.12.0
Description
gosaml2 is a Pure Go implementation of SAML 2.0. Prior to 0.12.0, ValidateEncodedResponse() calls decryptAssertions() on an EncryptedAssertion before signature or content validation completes, and EncryptedAssertion.DecryptBytes() in types/encrypted_assertion.go slices decoded ciphertext without first validating the required nonce or initialization-vector length. A CipherValue shorter than the 12-byte AES-GCM nonce causes a slice-bounds panic, and an empty AES-CBC CipherValue passes the modulo block-size check before causing a slice-bounds panic at the 16-byte initialization-vector split. An attacker needs only the service provider's public certificate to wrap a symmetric key, and no valid identity-provider signature or relationship is required. The unrecovered panic can terminate the request goroutine or the service process. This issue is fixed in version 0.12.0.
Affected products
Get alerts for these →Timeline 4
Latest change: Tenable Cloud Security plugin 482086: Chainguard: neuvector-controller-fips: security update to 5.6.4-r5 (Nov 19, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Nov 20, 2026
Thu, Nov 19, 2026
- Researchgithub.com/russellhaering/gosaml2: gosaml2: Unauthenticated panic decrypting an EncryptedAssertion with a short or empty CipherValueGitHub Advisories · 20:49 UTC
Tue, Nov 17, 2026
- CVECVE-2026-128073 published (CVSS 7.5)CVE Program · 20:17 UTC
References 5
- github.com /russellhaering/gosaml2/commit/b2bd784b196b21f606faaa6a4eeae929bd75aa20
- github.com /russellhaering/gosaml2/pull/281
- github.com /russellhaering/gosaml2/releases/tag/v0.12.0
- github.com /russellhaering/gosaml2/security/advisories/GHSA-5hj8-q7fv-qrj6
- github.com /russellhaering/gosaml2/security/advisories/GHSA-5hj8-q7fv-qrj6