# CVE-2023-6159: Inefficient Regular Expression Complexity in GitLab

- Severity: Medium 6.5 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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): 1.07%, higher than 64% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-01-26T02:02:29.909Z
- Modified: 2026-09-08T08:47:43.211Z
- Also known as: BIT-GITLAB-2023-6159
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitLab

## Description

An issue has been discovered in GitLab CE/EE affecting all versions from 12.7 prior to 16.6.6, 16.7 prior to 16.7.4, and 16.8 prior to 16.8.1 It was possible for an attacker to trigger a Regular Expression Denial of Service via a `Cargo.toml` containing maliciously crafted input.

(As written by CVE List.)

## Affected

- GitLab GitLab: from 12.7 before 16.6.6; from 16.7 before 16.7.4; from 16.8 before 16.8.1; from 12.7.0 before 16.6.6; from 16.7.0 before 16.7.4; 16.8.0
- gitlab (Bitnami): from 12.7.0 before 16.6.6; from 16.7.0 before 16.7.4; from 16.8.0 before 16.8.1

## Every score

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

## References

- <https://hackerone.com/reports/2251278> (exploit, broken-link, permissions-required, technical-description, web)
- <https://about.gitlab.com/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/> (advisory, vendor-advisory)
- <https://gitlab.com/gitlab-org/gitlab/-/issues/431924> (broken-link, issue-tracking, permissions-required, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-6159> (web)

## Sources

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

---

Page: https://cve.day/CVE-2023-6159 · Whole record: https://cve.day/CVE-2023-6159.json · Rebuilt by cve.day 2026-11-25T22:58:32.262Z
