# CVE-2021-22254: Under very specific conditions a user could be impersonated using Gitlab shell.

- Severity: Low 3.1 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/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.87%, higher than 59% of CVEs (2026-12-01)
- Published: 2021-08-20T17:37:29.000Z
- Modified: 2026-09-08T08:47:38.127Z
- Also known as: BIT-GITLAB-2021-22254
- Weaknesses: CWE-116
- Assigned by: GitLab

## Description

Under very specific conditions a user could be impersonated using Gitlab shell. This vulnerability affects GitLab CE/EE 13.1 and later through 14.1.2, 14.0.7 and 13.12.9.

(As written by CVE List.)

## Affected

- GitLab GitLab: >=13.1, <13.12.9; >=14.0, <14.0.7; >=14.1, <14.1.2; from 13.1.0 before 13.12.9; from 14.0.0 before 14.0.7; from 14.1.0 before 14.1.2
- gitlab (Bitnami): from 13.1.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 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://gitlab.com/gitlab-org/gitlab/-/issues/300265> (broken-link, web)
- <https://hackerone.com/reports/1087806> (advisory, permissions-required, third-party-advisory)
- <https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22254.json> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22254> (web)

## Sources

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

---

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