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

- Severity: Medium 6.3 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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.72%, higher than 55% of CVEs (2026-12-01)
- Published: 2021-03-31T21:10:13.000Z
- Modified: 2026-07-08T06:29:54.377Z
- Also known as: GHSA-5v95-v8c8-3rh6, GO-2022-0798
- Weaknesses: CWE-20, CWE-276
- Assigned by: Google

## Description

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.

(As written by CVE List.)

## Affected

- Google LLC Exposure Notifications Verification Server: from stable up to 0.23.0
- github.com/google/exposure-notifications-verification-server (Go): before 0.23.1
- google exposure_notifications_verification_server: before 0.23.1

## Every score

- Google: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/google/exposure-notifications-verification-server/security/advisories/GHSA-5v95-v8c8-3rh6> (advisory, third-party-advisory, web)
- <https://github.com/google/exposure-notifications-verification-server/commit/eb8cf40b12dbe79304f1133c06fb73419383cd95> (fix, patch, third-party-advisory, web)
- <https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.23.1> (release-notes, third-party-advisory, web)
- <https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.24.0> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22538> (advisory)

## Sources

- CVE List: [CVE-2021-22538](https://www.cve.org/CVERecord?id=CVE-2021-22538), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-5v95-v8c8-3rh6](https://github.com/advisories/GHSA-5v95-v8c8-3rh6), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2022-0798](https://pkg.go.dev/vuln/GO-2022-0798), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2021-22538](https://nvd.nist.gov/vuln/detail/CVE-2021-22538), Public domain, modified 2026-06-17

---

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