# CVE-2021-22538: Privilege escalation in RBAC system

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-03-31 · Modified: 2024-08-03
- Aliases: GHSA-5v95-v8c8-3rh6, GO-2022-0798
- Record: https://cvemate.com/vulnerability/CVE-2021-22538 · JSON: https://cvemate.com/vulnerability/CVE-2021-22538/json

## Description

```text
A privilege escalation vulnerability impacting the Google Exposure Notification Verification Server (versions prior to 0.23.1), allows an attacker who (1) has UserWrite permissions and (2) is using a carefully crafted request or malicious proxy, to create another user with higher privileges than their own. This occurs due to insufficient checks on the allowed set of permissions. The new user creation event would be captured in the Event Log.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.718%, percentile 55.2%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- github.com/google exposure-notifications-verification-server (Go): \< 0.23.1
- google llc exposure notifications verification server: ≥ stable, ≤ 0.23.0
- google exposure\_notifications\_verification\_server: \< 0.23.1

## References

- <https://github.com/google/exposure-notifications-verification-server/security/advisories/GHSA-5v95-v8c8-3rh6>
- <https://github.com/google/exposure-notifications-verification-server/commit/eb8cf40b12dbe79304f1133c06fb73419383cd95>
- <https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.23.1>
- <https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.24.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22538>

---

Data as of 2026-12-05T07:51:55.788Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
