{"id":"CVE-2020-27847","aliases":["CVE-2020-27847","GHSA-2x32-jm95-2cpx","GHSA-m9hp-7r99-94h5"],"related":["CVE-2020-26290","GO-2020-0050"],"kind":"vulnerability","state":"published","title":"Authentication Bypass in dex","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe following vulnerabilities have been disclosed, which impact users leveraging the SAML connector:\n\nSignature Validation Bypass (CVE-2020-15216): https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7\n\n`encoding/xml` instabilities:\n - [Element namespace prefix instability (CVE-2020-29511)](https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-elements.md)\n - [Attribute namespace prefix instability (CVE-2020-29509)](https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.md)\n - [Directive comment instability (CVE-2020-29510)](https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-directives.md)\n\n### Patches\n\nImmediately update to [Dex v2.27.0](https://github.com/dexidp/dex/releases/tag/v2.27.0).\n\n### Workarounds\n\nThere are no known workarounds.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se presenta una vulnerabilidad en el conector SAML de la biblioteca github.com/dexidp/dex que es usado para procesar la comprobación de firma SAML.&#xa0;Este fallo permite a un atacante omitir la autenticación SAML.&#xa0;La mayor amenaza de esta vulnerabilidad es la confidencialidad, la integridad y la disponibilidad del sistema.&#xa0;Este fallo afecta a dex versiones anteriores a 2.27.0","source":"nvd"}],"published":"2021-05-28T10:20:35.000Z","modified":"2026-09-10T03:49:10.271Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","score":9.3,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-228","CWE-290","CWE-347"],"affected":[{"ranges":[{"version":"dex 2.27.0","status":"affected"}],"product":"dexidp/dex","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.27.0"}],"ecosystem":"Go","package":"github.com/dexidp/dex","purl":"pkg:golang/github.com/dexidp/dex","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.27.0"}],"ecosystem":"Go","package":"github.com/dexidp/dex","purl":"pkg:golang/github.com/dexidp/dex","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.0"}],"ecosystem":"Go","package":"github.com/russellhaering/goxmldsig","purl":"pkg:golang/github.com/russellhaering/goxmldsig","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.27.0"}],"vendor":"linuxfoundation","product":"dex","cpe":"cpe:2.3:a:linuxfoundation:dex:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1907732","tags":["issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/dexidp/dex/security/advisories/GHSA-m9hp-7r99-94h5","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27847","tags":["advisory"],"sources":["ghsa"]},{"url":"https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26290","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/dexidp/dex/commit/324b1c886b407594196113a3dbddebe38eecd4e8","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/russellhaering/goxmldsig/commit/f6188febf0c29d7ffe26a0436212b19cb9615e64","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/dexidp/dex/releases/tag/v2.27.0","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.md","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-directives.md","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-elements.md","tags":["web"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0050","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-27847","url":"https://www.cve.org/CVERecord?id=CVE-2020-27847","licence":"CVE Terms of Use","modified":"2024-08-04T16:25:43.583Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2x32-jm95-2cpx","url":"https://github.com/advisories/GHSA-2x32-jm95-2cpx","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:10.072Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m9hp-7r99-94h5","url":"https://github.com/advisories/GHSA-m9hp-7r99-94h5","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:10.271Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-27847","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27847","licence":"Public domain","modified":"2026-06-17T03:09:44.013Z"}],"updatedAt":"2026-11-25T22:57:57.988Z","epss":{"score":0.01718,"percentile":0.78138,"date":"2026-12-01T12:00:22.000Z"}}