# CVE-2020-27847: Authentication Bypass in dex

- 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): 1.72%, higher than 78% of CVEs (2026-12-01)
- Published: 2021-05-28T10:20:35.000Z
- Modified: 2026-09-10T03:49:10.271Z
- Also known as: GHSA-2x32-jm95-2cpx, GHSA-m9hp-7r99-94h5
- Related: CVE-2020-26290, GO-2020-0050
- Weaknesses: CWE-228, CWE-290, CWE-347
- Assigned by: redhat

## Description

A vulnerability exists in the SAML connector of the github.com/dexidp/dex library used to process SAML Signature Validation. This flaw allows an attacker to bypass SAML authentication. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability. This flaw affects dex versions before 2.27.0.

(As written by CVE List.)

## Affected

- dexidp/dex: dex 2.27.0
- github.com/dexidp/dex (Go): before 2.27.0
- github.com/russellhaering/goxmldsig (Go): before 1.1.0
- linuxfoundation dex: before 2.27.0

## 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`
- GitHub: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/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`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/> (vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1907732> (issue-tracking, third-party-advisory, web)
- <https://github.com/dexidp/dex/security/advisories/GHSA-m9hp-7r99-94h5> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-27847> (advisory)
- <https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities> (web)
- <https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26290> (advisory)
- <https://github.com/dexidp/dex/commit/324b1c886b407594196113a3dbddebe38eecd4e8> (web)
- <https://github.com/russellhaering/goxmldsig/commit/f6188febf0c29d7ffe26a0436212b19cb9615e64> (web)
- <https://github.com/dexidp/dex/releases/tag/v2.27.0> (web)
- <https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.md> (web)
- <https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-directives.md> (web)
- <https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-elements.md> (web)
- <https://pkg.go.dev/vuln/GO-2020-0050> (web)

## Sources

- CVE List: [CVE-2020-27847](https://www.cve.org/CVERecord?id=CVE-2020-27847), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-2x32-jm95-2cpx](https://github.com/advisories/GHSA-2x32-jm95-2cpx), CC-BY-4.0, modified 2026-09-10
- GitHub Advisory Database: [GHSA-m9hp-7r99-94h5](https://github.com/advisories/GHSA-m9hp-7r99-94h5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-27847](https://nvd.nist.gov/vuln/detail/CVE-2020-27847), Public domain, modified 2026-06-17

---

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