# CVE-2020-27846: XML Processing error in github.com/crewjam/saml

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 4.93%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-12-21T15:16:14.000Z
- Modified: 2026-09-10T03:49:15.079Z
- Also known as: GHSA-4hq8-gmxx-h6w9, BIT-GRAFANA-2020-27846, GO-2021-0058
- Weaknesses: CWE-115, CWE-287
- Assigned by: redhat

## Description

A signature verification vulnerability exists in crewjam/saml. This flaw allows an attacker to bypass SAML Authentication. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

(As written by CVE List.)

## Affected

- crewjam/saml: grafana-7.3.6, grafana-7.2.3, grafana-6.7.5, github.com/crewjam/saml-0.4.3
- github.com/crewjam/saml (Go): before 0.4.3
- grafana grafana: before 6.7.5; from 7.0.0 before 7.2.3; from 7.3.0 before 7.3.6
- saml_project saml: before 0.4.3
- redhat openshift_container_platform: 3.11; 4.0
- redhat openshift_service_mesh: 2.0
- redhat enterprise_linux: 8.0
- fedoraproject fedora: 32; 33
- grafana (Bitnami): before 6.7.5; from 7.0.0 before 7.2.3; from 7.3.0 before 7.3.6

## Every score

- GitHub: 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`
- 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`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/> (exploit, advisory, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1907670> (advisory, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/crewjam/saml/security/advisories/GHSA-4hq8-gmxx-h6w9> (advisory, third-party-advisory, web)
- <https://grafana.com/blog/2020/12/17/grafana-6.7.5-7.2.3-and-7.3.6-released-with-important-security-fix-for-grafana-enterprise/> (advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3YUTKIRWT6TWU7DS6GF3EOANVQBFQZYI/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ICP3YRY2VUCNCF2VFUSK77ZMRIC77FEM/> (vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20210205-0002/> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-27846> (advisory, web)
- <https://github.com/crewjam/saml/commit/da4f1a0612c0a8dd0452cf8b3c7a6518f6b4d053> (fix, web)
- <https://github.com/crewjam/saml> (package)
- <https://grafana.com/blog/2020/12/17/grafana-6.7.5-7.2.3-and-7.3.6-released-with-important-security-fix-for-grafana-enterprise> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YUTKIRWT6TWU7DS6GF3EOANVQBFQZYI> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICP3YRY2VUCNCF2VFUSK77ZMRIC77FEM> (web)
- <https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities> (web)
- <https://pkg.go.dev/vuln/GO-2021-0058> (web)
- <https://security.netapp.com/advisory/ntap-20210205-0002> (web)

## Sources

- CVE List: [CVE-2020-27846](https://www.cve.org/CVERecord?id=CVE-2020-27846), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-4hq8-gmxx-h6w9](https://github.com/advisories/GHSA-4hq8-gmxx-h6w9), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2021-0058](https://pkg.go.dev/vuln/GO-2021-0058), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2020-27846](https://nvd.nist.gov/vuln/detail/CVE-2020-27846), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GRAFANA-2020-27846](https://osv.dev/vulnerability/BIT-GRAFANA-2020-27846), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-27846 · Whole record: https://cve.day/CVE-2020-27846.json · Rebuilt by cve.day 2026-11-25T22:57:56.336Z
