CVE-2023-6840

CVE-2023-6840 is a medium-severity vulnerability in Gitlab with a CVSS 3.x base score of 6.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-862.

Key facts

Description

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.

Frequently asked questions

What is CVE-2023-6840?
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.
How severe is CVE-2023-6840?
CVE-2023-6840 has a CVSS 3.x base score of 6.7, rated medium severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is low, integrity high, and availability high.
Is CVE-2023-6840 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (43rd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2023-6840?
CVE-2023-6840 affects Gitlab. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2023-6840?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2023-6840 have an EU (EUVD) identifier?
Yes. CVE-2023-6840 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2023-59045.
When was CVE-2023-6840 published?
CVE-2023-6840 was published on 2024-02-07 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Gitlab

All CVEs affecting Gitlab →

Other CWE-862 (Missing Authorization) vulnerabilities

Browse all CWE-862 (Missing Authorization) vulnerabilities →