CVE-2022-1162GitLab Hardcoded Credentials
A hardcoded password was set for accounts registered using an OmniAuth provider (e.g.
Published Apr 4, 2022 · Updated Oct 30, 2026 · Also known as BIT-gitlab-2022-1162, TR-22-0328, UBUNTU-CVE-2022-1162
Key Facts
Patch immediately- CVE-2022-1162 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting GitLab.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 46% probability of exploitation in the next 30 days.
- Fixed versions are available, including GitLab 14.7.7, GitLab 14.8.5, GitLab 14.9.2.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
46%
Higher than 99.0% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
48/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2022-1162
- advisoryhttps://github.com/Greenwolf/CVE-2022-1162
- advisoryhttps://ubuntu.com/security/CVE-2022-1162
- advisoryhttp://packetstormsecurity.com/files/166828/Gitlab-14.9-Authentication-Bypass.html
- advisoryhttps://cxsecurity.com/issue/WLB-2022040100
- advisoryhttps://cxsecurity.com/issue/WLB-2022040101
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
Affected Products
6 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| GitLabGitlab | >= 14.7.0, >=14.9, <14.9.2 | 14.7.7 |
Patched Releases
GitLab
14.7.7, 14.8.5, 14.9.2, 15.10.8+ds1-2
Timeline
Publicly disclosed
Apr 4, 2022
Last updated
Oct 30, 2026
Weakness Type
- CWE-798 Use of Hard-coded Credentials
References
- advisorycve.org · CVERecord
- advisorygithub.com · CVE-2022-1162
- advisoryubuntu.com · CVE-2022-1162
- advisorypacketstormsecurity.com · Gitlab-14.9-Authentication-Bypass.html
- advisorycxsecurity.com · WLB-2022040100
FAQ
Common Questions.
A hardcoded password was set for accounts registered using an OmniAuth provider (e.g.
Affected: GitLab versions >= 14.7.0, >=14.9, <14.9.2. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including GitLab 14.7.7, GitLab 14.8.5, GitLab 14.9.2.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2022-1162 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo