# CVE-2022-4205: In Gitlab EE/CE before 15.6.1, 15.5.5 and 15.4.6 using a branch with a hexadecimal name could override an existing hash.

- Severity: Medium 6.3 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/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.63%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-27T00:00:00.000Z
- Modified: 2026-09-08T08:47:40.732Z
- Also known as: BIT-GITLAB-2022-4205
- Weaknesses: CWE-843
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitLab

## Description

In Gitlab EE/CE before 15.6.1, 15.5.5 and 15.4.6 using a branch with a hexadecimal name could override an existing hash.

(As written by CVE List.)

## Affected

- GitLab GitLab: >=1.0, <12.9.8; >=15.5, <15.5.5; >=15.6, <15.6.1; from 1.0.0 before 12.9.8; from 15.5.0 before 15.5.5; 15.6.0
- gitlab (Bitnami): from 1.0.0 before 12.9.8; from 15.5.0 before 15.5.5; from 15.6.0 before 15.6.1

## Every score

- GitLab: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://gitlab.com/gitlab-org/gitlab/-/issues/374082> (exploit, advisory, issue-tracking, vendor-advisory)
- <https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4205.json> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4205> (web)

## Sources

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

---

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