# CVE-2020-26290: Critical security issues in XML encoding in github.com/dexidp/dex

Source: https://junglewise.ai/threats/cve-2020-26290-authentication-bypass-in-dex  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-12-20  
License: CC BY 4.0 with a link back

CVE-2020-26290 · Severity: low · CVSS 3.1 · Published 2021-12-20

Critical security issues in XML encoding in github.com/dexidp/dex

Technologies: [github.com/dexidp/dex (Go)](https://junglewise.ai/threats/technologies/github-com-dexidp-dex), [github.com/russellhaering/goxmldsig (Go)](https://junglewise.ai/threats/technologies/github-com-russellhaering-goxmldsig). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2020-26290 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-26290 being exploited in the wild.

**How severe is CVE-2020-26290?** Low severity, with a CVSS score of 3.1, published 20 December 2021.

**Which products and versions are affected?** github.com/dexidp/dex (Go) SEMVER:introduced=0,fixed=2.27.0; github.com/russellhaering/goxmldsig (Go) SEMVER:introduced=0,fixed=1.1.0.

**Is there a fix for CVE-2020-26290?** Yes. github.com/dexidp/dex (Go): upgrade to 2.27.0 or later; github.com/russellhaering/goxmldsig (Go): upgrade to 1.1.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-26290?** Check whether you run github.com/dexidp/dex (Go) or github.com/russellhaering/goxmldsig (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/dexidp/dex (Go): upgrade to 2.27.0 or later

  ```sh
  go get github.com/dexidp/dex@v2.27.0
  ```

- github.com/russellhaering/goxmldsig (Go): upgrade to 1.1.0 or later

  ```sh
  go get github.com/russellhaering/goxmldsig@v1.1.0
  ```


## Affected products

- github.com/dexidp/dex (Go) SEMVER:introduced=0,fixed=2.27.0
- github.com/russellhaering/goxmldsig (Go) SEMVER:introduced=0,fixed=1.1.0

## Identifiers

- CVE-2020-26290
- CVE-2020-27847
- GHSA-2x32-jm95-2cpx
- GHSA-m9hp-7r99-94h5

## Related threats

- [GO-2026-5231 - Dex: Token-exchange endpoint is missing AllowedConnectors enforcement in github.com/dexidp/dex](https://junglewise.ai/threats/go-2026-5231-dex-token-exchange-endpoint-is-missing-allowedconnectors-d0d1b456)
- [Dex improper authorization in token-exchange endpoint](https://junglewise.ai/threats/dex-improper-authorization-in-token-exchange-endpoint-f3b09e96)
- [russellhaering goxmldsig signature bypass in validateSignature](https://junglewise.ai/threats/cve-2026-33487-russellhaering-goxmldsig-signature-bypass-in-validatesignature)
- [GO-2024-2476 - Dex discarding TLSconfig and always serves deprecated TLS 1.0/1.1 and insecure ciphers in github.com/dexidp/dex](https://junglewise.ai/threats/cve-2024-23656-dex-discarding-tlsconfig-and-always-serves-deprecated-tls-1-0-1-1)
- [Dex vulnerable to Man-in-the-Middle allowing ID token capture via intercepted authorization code](https://junglewise.ai/threats/cve-2022-39222-dex-vulnerable-to-man-in-the-middle-allowing-id-token-capture-via)
