# CVE-2021-22236: Due to improper handling of OAuth client IDs, new subscriptions generated OAuth tokens on an incorrect OAuth client application.

- Severity: Medium 5.5 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/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.86%, higher than 56% of CVEs (2026-11-30)
- Published: 2021-08-25T18:39:18.000Z
- Modified: 2026-09-08T08:47:37.988Z
- Also known as: BIT-GITLAB-2021-22236
- Weaknesses: CWE-863
- Assigned by: GitLab

## Description

Due to improper handling of OAuth client IDs, new subscriptions generated OAuth tokens on an incorrect OAuth client application. This vulnerability is present in GitLab CE/EE since version 14.1.

(As written by CVE List.)

## Affected

- GitLab GitLab: >=14.1, <14.1.2; from 14.1.0 before 14.1.2
- gitlab (Bitnami): from 14.1.0 before 14.1.2

## Every score

- GitLab: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- 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`
- Bitnami Vulnerability Database: rating High

## References

- <https://gitlab.com/gitlab-org/gitlab/-/issues/334925> (broken-link, web)
- <https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22236.json> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22236> (web)

## Sources

- CVE List: [CVE-2021-22236](https://www.cve.org/CVERecord?id=CVE-2021-22236), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-22236](https://nvd.nist.gov/vuln/detail/CVE-2021-22236), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2021-22236](https://osv.dev/vulnerability/BIT-GITLAB-2021-22236), Apache-2.0, modified 2026-09-08

---

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