{"id":"CVE-2020-29509","aliases":["BIT-golang-2020-29509","GHSA-xhqq-x44f-9fgg","GO-2021-0060"],"url":"https://o3.security/vulnerability/CVE-2020-29509","summary":"Authentication Bypass in github.com/russellhaering/gosaml2","details":"### Impact\nGiven a valid SAML Response, it may be possible for an attacker to mutate the XML document in such a way that gosaml2 will trust a different portion of the document than was signed.\n\nDepending on the implementation of the Service Provider this enables a variety of attacks, including users accessing accounts other than the one to which they authenticated in the Identity Provider, or full authentication bypass.\n\n### Patches\nService Providers utilizing gosaml2 should upgrade to v0.6.0 or greater.","published":"2020-12-14T20:15:13.060Z","modified":"2026-07-08T23:35:24.887388Z","cvss":{"score":5.6,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/russellhaering/gosaml2","fixedVersion":"0.6.0"}],"fix":{"url":"https://github.com/russellhaering/gosaml2/commit/42606dafba60c58c458f14f75c4c230459672ab9","label":"russellhaering/gosaml2@42606da"},"references":[{"type":"ADVISORY","url":"https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.md"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210129-0006/"},{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/security/advisories/GHSA-xhqq-x44f-9fgg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-29509"},{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/commit/42606dafba60c58c458f14f75c4c230459672ab9"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2021-0060"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210129-0006"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T23:35:24.887388Z"}}