CVE-2021-20278Kiali
Medium 6.5 No auth needed
Follow: this CVE · Kiali · Kiali We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 57
- Auth required
- No
- Published
- May 28, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
What happens
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
- Apply the vendor's security update for Kiali.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/kiali/kiali |
< 1.31.0 |
1.31.0 |
go get github.com/kiali/kiali@v1.31.0 |
| Go | github.com/kiali/kiali |
< 1.31.0 |
1.31.0 |
go get github.com/kiali/kiali@v1.31.0 |
Per OSV / GitHub Advisories (GHSA-ggjr-2f7v-vhq4, GO-2022-0700). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| kiali | kiali | < 1.31.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- kiali.io Vendor Advisory