# CVE-2021-22251: Improper validation of invited users' email address in GitLab EE affecting all versions since 12.2 allowed projects to add members with ema…

- Severity: Medium 4.3 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- 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.82%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-23T19:38:04.000Z
- Modified: 2026-09-08T08:47:37.904Z
- Also known as: BIT-GITLAB-2021-22251
- Weaknesses: CWE-863
- Assigned by: GitLab

## Description

Improper validation of invited users' email address in GitLab EE affecting all versions since 12.2 allowed projects to add members with email address domain that should be blocked by group settings

(As written by CVE List.)

## Affected

- GitLab GitLab: >=12.2, <13.12.9; >=14.0, <14.0.7; >=14.1, <14.1.2; from 12.2.0 before 13.12.9; from 14.0.0 before 14.0.7; from 14.1.0 before 14.1.2
- gitlab (Bitnami): from 12.2.0 before 13.12.9; from 14.0.0 before 14.0.7; from 14.1.0 before 14.1.2

## Every score

- GitLab: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://gitlab.com/gitlab-org/gitlab/-/issues/14004> (exploit, advisory, issue-tracking, vendor-advisory)
- <https://hackerone.com/reports/679567> (advisory, permissions-required, third-party-advisory)
- <https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22251.json> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22251> (web)

## Sources

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

---

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