CVE-2023-6840

published 7 Feb 2024 · updated 24 Apr 2026

Missing Authorization in GitLab

7.7HighCVSS 6.7EPSS 1%2 public exploits

2 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in GitLab 16.6.7, GitLab 16.7.5 and GitLab 16.8.2.

An issue has been discovered in GitLab EE affecting all versions from 16.4 prior to 16.6.7, 16.7 prior to 16.7.5, and 16.8 prior to 16.8.2 which allows a maintainer to change the name of a protected branch that bypasses the security policy added to block MR.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GitLabGitLab>=16.4 <16.6.7, >=16.7 <16.7.5, >=16.8 <16.8.216.6.7, 16.7.5, 16.8.2

Exploit evidence

2 public sources

Vendor advisories

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in GitLab, strongest first

10.0CriticalPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-6840 severity on Zeptric[![CVE-2023-6840](https://zeptric.io/badge/cve/CVE-2023-6840.svg)](https://zeptric.io/cve/CVE-2023-6840)