CVE-2023-6159
Inefficient Regular Expression Complexity in 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.
Description as published by the source, in English.
Key facts
- Published
- 2024-01-26
- Last modified
- 2026-08-14
- Assigned by
- GitLab
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H- Scored by
- CVE Program
- Probability of exploitation
-
1.0 %
higher than 59 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| GitLab | GitLab | ≥ 12.7, < 16.6.6 | Affected |
| GitLab | GitLab | ≥ 16.7, < 16.7.4 | Affected |
| GitLab | GitLab | ≥ 16.8, < 16.8.1 | Affected |
Weakness type
-
CWE-1333: Inefficient Regular Expression Complexity
The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
References
- https://gitlab.com/gitlab-org/gitlab/-/issues/431924
- https://hackerone.com/reports/2251278
- https://about.gitlab.com/releases/2024/01/25/critical-security-release-gitlab-16-8-1-rele…
Related at Berigo
Articles
-
An unauthenticated request could read files off a GitLab server
Same product
2026-09-26
On 10 September 2026 GitLab patched a CVSS 10.0 flaw that, under certain conditions, let an unauthenticated user read files from the server. A day la…
-
A critical GitLab flaw can allow project deletion without login
Same product
2026-08-18
On 17 August 2026 GitLab shipped an out of band patch release. It fixes two vulnerabilities in the GraphQL layer, the more serious one scoring CVSS 9…
-
CISA adds four exploited vulnerabilities to the KEV catalog
Same product
2026-02-03
The flaws affect Sangoma FreePBX, GitLab and SolarWinds Web Help Desk, spanning from 2019 to one published a week ago.
-
GitLab closes ten flaws and urges self-managed installs to upgrade
Same product
2025-12-11
GitLab has released fixes for ten vulnerabilities in CE and EE, including an authentication bypass and several high-severity XSS flaws.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.