# CVE-2021-20278: Kiali Authentication Bypass vulnerability

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- 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): 0.76%, higher than 56% of CVEs (2026-12-01)
- Published: 2021-05-28T10:42:40.000Z
- Modified: 2026-06-17T03:33:35.703Z
- Also known as: GHSA-ggjr-2f7v-vhq4, GO-2022-0700
- Weaknesses: CWE-287, CWE-290
- Assigned by: redhat

## Description

An authentication bypass vulnerability was found in Kiali in versions before 1.31.0 when the authentication strategy `OpenID` is used. When RBAC is enabled, Kiali assumes that some of the token validation is handled by the underlying cluster. When OpenID `implicit flow` is used with RBAC turned off, this token validation doesn't occur, and this allows a malicious user to bypass the authentication.

(As written by CVE List.)

## Affected

- kiali: kiali 1.31.0
- github.com/kiali/kiali (Go): before 1.31.0
- kiali kiali: before 1.31.0

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1937171> (issue-tracking, patch, third-party-advisory, web)
- <https://kiali.io/news/security-bulletins/kiali-security-002/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-20278> (advisory)
- <https://kiali.io/news/security-bulletins/kiali-security-002> (web)
- <https://github.com/advisories/GHSA-ggjr-2f7v-vhq4> (advisory)

## Sources

- CVE List: [CVE-2021-20278](https://www.cve.org/CVERecord?id=CVE-2021-20278), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-ggjr-2f7v-vhq4](https://github.com/advisories/GHSA-ggjr-2f7v-vhq4), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0700](https://pkg.go.dev/vuln/GO-2022-0700), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2021-20278](https://nvd.nist.gov/vuln/detail/CVE-2021-20278), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20278 · Whole record: https://cve.day/CVE-2021-20278.json · Rebuilt by cve.day 2026-11-25T22:58:01.580Z
