LiveActive security incident?Get immediate response
CVE Record

CVE-2023-6840: Missing Authorization in GitLab

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.

MediumCVSS 6.7Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2023-6840 affects GitLab EE. A maintainer could rename a protected branch in a way that bypasses a security policy meant to block merge requests. This matters where protected branches and MR-blocking policies enforce release, compliance, or change-control gates.

Executive priority

Treat this as a targeted governance-control bypass, not a mass compromise issue. Prioritize remediation for regulated, production, or release-critical GitLab projects where maintainers should not bypass MR policy controls.

Technical view

This is a missing authorization issue, CWE-862, in GitLab EE versions 16.4 before 16.6.7, 16.7 before 16.7.5, and 16.8 before 16.8.2. The CVSS 3.1 score is 6.7, with high privileges required and potential high integrity and availability impact.

Likely exposure

Exposure is likely limited to GitLab EE deployments running the affected version ranges, especially projects using protected branches and security policies to block merge requests.

Exploitation context

The provided record does not show CISA KEV listing or other evidence of active exploitation. Exploitation requires maintainer-level privileges, reducing broad internet risk but increasing insider, compromised-account, and governance-bypass concerns.

Researcher notes

The key boundary is maintainer authorization over protected branch renaming. Validate version exposure and policy reliance, but avoid assuming unauthenticated or low-privilege exploitation. Public source detail is limited in the bundle.

Mitigation direction

  • Upgrade GitLab EE to 16.6.7, 16.7.5, 16.8.2, or later supported releases.
  • Prioritize projects relying on protected branches and MR-blocking security policies.
  • Review maintainer permissions for repositories with sensitive release or deployment branches.
  • Check GitLab vendor guidance for any additional configuration or compensating controls.

Validation and detection

  • Inventory GitLab EE instances and confirm whether versions fall in affected ranges.
  • Identify projects using protected branches with policies that block merge requests.
  • Review audit history for protected branch rename activity by maintainer accounts.
  • Confirm upgraded instances are no longer below the fixed version thresholds.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-862: Authorization and privilege behavior lookup

Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-6840 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.7CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H1.25.5Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.7Medium
CVSS 3.1 vector shape for CVE-2023-6840Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
GitLabGitLab16.4, 16.7, 16.8unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-862 · source CWE mapping

Missing Authorization

Missing Authorization represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.