CVE-2023-4008

Incorrect Ownership Assignment in GitLab

Published Aug 3, 2023 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
An issue has been discovered in GitLab CE/EE affecting all versions starting from 15.9 before 16.0.8, all versions starting from 16.1 before 16.1.3, all versions starting from 16.2 before 16.2.2. It was possible to takeover GitLab Pages with unique domain URLs if the random string added was known.

Remediation

Vendor Solution

Upgrade to versions 16.2.2, 16.1.3, 16.0.8 or above.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-53901 An issue has been discovered in GitLab CE/EE affecting all versions starting from 15.9 before 16.0.8, all versions starting from 16.1 before 16.1.3, all versions starting from 16.2 before 16.2.2. It was possible to takeover GitLab Pages with unique domain URLs if the random string added was known.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-367
Type Values Removed Values Added
Title Time-of-check Time-of-use (TOCTOU) Race Condition in GitLab Incorrect Ownership Assignment in GitLab
Weaknesses CWE-708
Type Values Removed Values Added
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitLab
Published
Updated
Jun 2, 2026, 4:12 AM
Reserved
Jul 31, 2023, 7:13 AM
Status
Modified
Published
Aug 3, 2023, 7:15 AM
Modified
Jun 17, 2026, 6:36 AM
Severity
Moderate
Public date
Aug 3, 2023, 12:00 AM