# CVE-2022-1162: A hardcoded password was set for accounts registered using an OmniAuth provider (e.g.

- Severity: Critical 9.1 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 46.0%, higher than 99% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-04T19:46:14.000Z
- Modified: 2026-09-10T16:01:33.317Z
- Also known as: BIT-GITLAB-2022-1162
- Weaknesses: CWE-798
- Assigned by: GitLab

## Description

A hardcoded password was set for accounts registered using an OmniAuth provider (e.g. OAuth, LDAP, SAML) in GitLab CE/EE versions 14.7 prior to 14.7.7, 14.8 prior to 14.8.5, and 14.9 prior to 14.9.2 allowing attackers to potentially take over accounts

(As written by CVE List.)

## Affected

- GitLab GitLab: >=14.9, <14.9.2; >=14.8, <14.8.5; >=14.7, <14.7.7; from 14.7.0 before 14.7.7; from 14.8.0 before 14.8.5; from 14.9.0 before 14.9.2
- gitlab (Bitnami): from 14.7.0 before 14.7.7; from 14.8.0 before 14.8.5; from 14.9.0 before 14.9.2

## Every score

- GitLab: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating Critical

## References

- <http://packetstormsecurity.com/files/166828/Gitlab-14.9-Authentication-Bypass.html> (exploit, advisory, third-party-advisory, vdb-entry)
- <https://gitlab.com/gitlab-org/gitlab/-/issues/357210> (broken-link, web)
- <https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1162.json> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-1162> (web)

## Sources

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

---

Page: https://cve.day/CVE-2022-1162 · Whole record: https://cve.day/CVE-2022-1162.json · Rebuilt by cve.day 2026-11-25T22:58:10.404Z
