CVE-2020-26290
Critical security issues in XML encoding in Dex
Also known as CVE-2020-27847, GHSA-2x32-jm95-2cpx, GHSA-m9hp-7r99-94h5
Mitigation
- Upgrade github.com/dexidp/dex to 2.27.0 or later.
- Upgrade github.com/russellhaering/goxmldsig to 1.1.0 or later.
Who should check
- Projects that depend on Go package github.com/dexidp/dex (< 2.27.0)
- Projects that depend on Go package github.com/russellhaering/goxmldsig (< 1.1.0)
- Anyone running dexidp dex < 2.27.0
Vulnerability facts
- Affected
- github.com/dexidp/dex < 2.27.0; github.com/russellhaering/goxmldsig < 1.1.0
- Fixed in
- 2.27.0, 1.1.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.99% chance of exploitation in 30 days (percentile 61, 2026-11-26)
- CWE
- CWE-347
- Modified
Description
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).
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/dexidp/dex | < 2.27.0 | 2.27.0 | osv |
| Go github.com/russellhaering/goxmldsig | < 1.1.0 | 1.1.0 | osv |
| dexidp dex | < 2.27.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-26290. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-26290.md Affected: github.com/dexidp/dex < 2.27.0; github.com/russellhaering/goxmldsig < 1.1.0 Fixed in: 2.27.0, 1.1.0 Steps: 1. Search this machine and project for github.com/dexidp/dex (Go), github.com/russellhaering/goxmldsig (Go), dexidp dex: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/
- https://github.com/dexidp/dex/security/advisories/GHSA-m9hp-7r99-94h5
- https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7
- https://nvd.nist.gov/vuln/detail/CVE-2020-27847
- https://nvd.nist.gov/vuln/detail/CVE-2020-26290
Patches
Other
- https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-directives.md
- https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-elements.md
- https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.md
- https://github.com/dexidp/dex/releases/tag/v2.27.0
- https://bugzilla.redhat.com/show_bug.cgi?id=1907732
- https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities
- https://pkg.go.dev/vuln/GO-2020-0050
FAQ
Is CVE-2020-26290 being exploited?
There is no confirmed exploitation: CVE-2020-26290 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.99% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-26290?
Critical: CVSS 9.3 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2020-26290?
github.com/dexidp/dex < 2.27.0; github.com/russellhaering/goxmldsig < 1.1.0.
Is there a fix for CVE-2020-26290?
Yes. Fixed in 2.27.0, 1.1.0. Upgrade github.com/dexidp/dex to 2.27.0 or later. Upgrade github.com/russellhaering/goxmldsig to 1.1.0 or later.
How do I check if I'm affected by CVE-2020-26290?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.