Skip to main content
Vulnerability Database/CVE-2026-82632

CVE-2026-82632: GitLab Auth Bypass Vulnerability

CVE-2026-82632 is an authentication bypass flaw in GitLab CE/EE that allows authenticated users to import projects beyond token scope. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-82632 Overview

GitLab patched an improper authorization vulnerability [CWE-863] affecting GitLab Community Edition (CE) and Enterprise Edition (EE). The flaw affects all versions from 18.9 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2. An authenticated user holding a fine-grained Personal Access Token (PAT) scoped only to user-boundary import permissions could import projects into group namespaces outside the token's intended scope. The root cause is incorrect authorization of the import target namespace during project import operations.

Critical Impact

An authenticated attacker with a narrowly-scoped PAT can import projects into unauthorized group namespaces, violating the principle of least privilege for token-based access.

Affected Products

  • GitLab CE/EE versions 18.9 through 19.2.7
  • GitLab CE/EE versions 19.3 through 19.3.4
  • GitLab CE/EE versions 19.4 through 19.4.1

Discovery Timeline

  • 2026-10-13 - CVE-2026-82632 published to NVD
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-82632

Vulnerability Analysis

The vulnerability resides in GitLab's project import authorization logic. GitLab's fine-grained Personal Access Tokens allow administrators to restrict a token's permissions to specific resources and boundaries. In this case, tokens scoped only to user-boundary import permissions should be limited to importing projects into the issuing user's own namespace.

The import controller validated the user's general authorization to perform imports but failed to verify that the target namespace fell within the token's declared scope. This gap allowed the token holder to supply arbitrary group namespace identifiers during the import request. The authorization decision did not reconcile the token's boundary attribute with the destination namespace attribute.

Exploitation requires valid authentication and a crafted import request. The attack vector is network-based, and the impact is limited to integrity of project placement rather than confidentiality or availability.

Root Cause

The root cause is a missing authorization check [CWE-863] on the target namespace during the project import workflow. The server trusted that any user with import privileges could choose the destination. It did not enforce the fine-grained PAT boundary constraint against the resolved namespace identifier.

Attack Vector

An authenticated user with a fine-grained PAT scoped only to user-boundary import permissions can submit a project import request through GitLab's import API. By specifying a group namespace identifier that the token should not control, the attacker places projects into groups outside the intended scope. See the HackerOne Report #3843143 and GitLab Work Item #626041 for technical details.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-82632

Indicators of Compromise

  • Project import events in GitLab audit logs where the target namespace does not match the PAT holder's expected user namespace.
  • Unexpected new projects appearing within group namespaces that were not created through standard group member workflows.
  • API requests to the import endpoints originating from PATs with narrowly declared scopes but targeting group namespaces.

Detection Strategies

  • Review GitLab audit logs for project_import events and correlate the author_id with the resolved target namespace owner.
  • Compare the acting token's declared scope metadata against the destination namespace for each import operation.
  • Alert on imports performed by PATs where the token boundary type is user but the destination is a group.

Monitoring Recommendations

  • Enable and forward GitLab audit events and API access logs to a centralized logging platform.
  • Baseline normal project import activity per user and alert on deviations such as cross-namespace imports.
  • Periodically enumerate active fine-grained PATs and verify that their declared scopes align with observed usage.

How to Mitigate CVE-2026-82632

Immediate Actions Required

  • Upgrade GitLab CE/EE to version 19.2.8, 19.3.5, or 19.4.2 as applicable to your deployment track.
  • Audit all fine-grained Personal Access Tokens with import scopes and revoke any that are not actively required.
  • Review recent project import events across group namespaces and remove unauthorized projects.

Patch Information

GitLab released fixed versions 19.2.8, 19.3.5, and 19.4.2 that correct the authorization check on the import target namespace. Refer to the GitLab Patch Release Notice for upgrade guidance and the complete list of addressed issues.

Workarounds

  • Revoke or restrict fine-grained PATs that carry user-boundary import permissions until the upgrade is applied.
  • Restrict group creation and import permissions at the instance level to trusted administrators.
  • Enforce group-level approval workflows for new project imports where feasible.
bash
# Configuration example: list and revoke suspect PATs via GitLab Rails console
# Identify active fine-grained PATs with import scopes
sudo gitlab-rails runner "PersonalAccessToken.active.where('scopes LIKE ?', '%import%').each { |t| puts [t.id, t.user_id, t.name, t.scopes].inspect }"

# Revoke a specific PAT by ID
sudo gitlab-rails runner "PersonalAccessToken.find(<TOKEN_ID>).revoke!"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.