# CVE-2022-41912: crewjam/saml go library is vulnerable to signature bypass via multiple Assertion elements

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.82%, higher than 87% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-28T00:00:00.000Z
- Modified: 2026-06-17T05:04:02.963Z
- Also known as: GHSA-j2jp-wvqg-wc2g, GO-2022-1129
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

The crewjam/saml go library prior to version 0.4.9 is vulnerable to an authentication bypass when processing SAML responses containing multiple Assertion elements. This issue has been corrected in version 0.4.9. There are no workarounds other than upgrading to a fixed version.

(As written by CVE List.)

## Affected

- crewjam saml: < 0.4.9
- github.com/crewjam/saml (Go): before 0.4.9
- saml_project saml: before 0.4.9

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <http://packetstormsecurity.com/files/170356/crewjam-saml-Signature-Bypass.html> (exploit, third-party-advisory, vdb-entry, web)
- <https://github.com/crewjam/saml/security/advisories/GHSA-j2jp-wvqg-wc2g> (third-party-advisory, web)
- <https://github.com/crewjam/saml/commit/aee3fb1edeeaf1088fcb458727e0fd863d277f8b> (fix, patch, third-party-advisory, web)
- <https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p> (advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41912> (advisory)
- <https://github.com/crewjam/saml> (package)
- <https://github.com/crewjam/saml/releases/tag/v0.4.9> (web)
- <https://pkg.go.dev/vuln/GO-2022-1129> (web)

## Sources

- CVE List: [CVE-2022-41912](https://www.cve.org/CVERecord?id=CVE-2022-41912), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-j2jp-wvqg-wc2g](https://github.com/advisories/GHSA-j2jp-wvqg-wc2g), CC-BY-4.0, modified 2023-11-08
- Go Vulnerability Database: [GO-2022-1129](https://pkg.go.dev/vuln/GO-2022-1129), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-41912](https://nvd.nist.gov/vuln/detail/CVE-2022-41912), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-41912 · Whole record: https://cve.day/CVE-2022-41912.json · Rebuilt by cve.day 2026-11-25T22:58:17.093Z
