{"id":"CVE-2020-26290","aliases":["CVE-2020-26290","GHSA-2x32-jm95-2cpx","GHSA-m9hp-7r99-94h5"],"related":["CVE-2020-27847","GO-2020-0050"],"kind":"vulnerability","state":"published","title":"Critical security issues in XML encoding in Dex","summary":"Dex is a federated OpenID Connect provider written in Go. In Dex before version 2.27.0 there is a critical set of vulnerabilities which impacts users leveraging the SAML connector. The vulnerabilities enables potential signature bypass due to issues with XML encoding in the underlying Go library. The vulnerabilities have been addressed in version 2.27.0 by using the xml-roundtrip-validator from Mattermost (see related references).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Dex is a federated OpenID Connect provider written in Go. In Dex before version 2.27.0 there is a critical set of vulnerabilities which impacts users leveraging the SAML connector. The vulnerabilities enables potential signature bypass due to issues with XML encoding in the underlying Go library. The vulnerabilities have been addressed in version 2.27.0 by using the xml-roundtrip-validator from Mattermost (see related references).","source":"cvelist"},{"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.","format":"markdown","source":"ghsa"},{"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":"Dex es un proveedor federado de OpenID Connect escrito en Go.&#xa0;En Dex versión anterior a 2.27.0, presenta un conjunto crítico de vulnerabilidades que impacta a usuarios que aprovechan el conector SAML.&#xa0;Las vulnerabilidades permiten una posible omisión de firmas debido a problemas con la codificación XML en la biblioteca Go subyacente.&#xa0;Las vulnerabilidades han sido abordadas en la versión 2.27.0, mediante el uso de xml-roundtrip-validator de Mattermost (consulte las referencias relacionadas)","source":"nvd"}],"published":"2020-12-28T19:15:17.000Z","modified":"2026-09-10T03:49:10.271Z","severity":{"scorer":"GitHub_M","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"},"severities":[{"scorer":"GitHub_M","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":"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:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-228","CWE-290","CWE-347"],"affected":[{"ranges":[{"version":"< 2.27.0","status":"affected"}],"vendor":"dexidp","product":"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://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-directives.md","tags":["not-applicable","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-elements.md","tags":["not-applicable","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.md","tags":["not-applicable","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/","tags":["not-applicable","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/dexidp/dex/security/advisories/GHSA-m9hp-7r99-94h5","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7","tags":["not-applicable","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/dexidp/dex/commit/324b1c886b407594196113a3dbddebe38eecd4e8","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/dexidp/dex/releases/tag/v2.27.0","tags":["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://bugzilla.redhat.com/show_bug.cgi?id=1907732","tags":["web"],"sources":["ghsa"]},{"url":"https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26290","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/russellhaering/goxmldsig/commit/f6188febf0c29d7ffe26a0436212b19cb9615e64","tags":["web"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0050","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-26290","url":"https://www.cve.org/CVERecord?id=CVE-2020-26290","licence":"CVE Terms of Use","modified":"2024-08-04T15:56:04.350Z"},{"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-26290","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26290","licence":"Public domain","modified":"2026-06-17T03:08:00.583Z"}],"updatedAt":"2026-11-25T22:57:56.487Z","epss":{"score":0.00989,"percentile":0.63474,"date":"2026-12-01T12:00:22.000Z"}}