BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2023-4008 in Gitlab

Critical 9.8

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.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
EPSS0.9%
EPSS percentile57th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Gitlab Gitlab ≥ 15.9.0, < 16.0.8 ≥ 16.1, < 16.1.3 ≥ 16.2, < 16.2.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-4008
BreachSpider IDBS-2023-GLOBAL-056964-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2023-08-03
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-708: CWE-708

Analysis AI-written, not human-reviewed

A critical vulnerability in GitLab CE/EE allows an attacker to take over GitLab Pages with unique domain URLs if the random string is known, affecting multiple versions.

The vulnerability arises from the predictable random string used in GitLab Pages URLs, enabling an attacker to guess the URL and take over the page.

Questions

What is CVE-2023-4008?

A critical vulnerability in GitLab CE/EE allows an attacker to take over GitLab Pages with unique domain URLs if the random string is known, affecting multiple versions.

What is the CVSS score for CVE-2023-4008?

CVE-2023-4008 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.9%.

Is CVE-2023-4008 actively exploited?

No confirmed active exploitation of CVE-2023-4008 as of 2026-05-30.

How do I remediate CVE-2023-4008?

Priority: IMMEDIATE. Advisory: https://gitlab.com/gitlab-org/gitlab/-/issues/415942

What systems are affected by CVE-2023-4008?

CVE-2023-4008 affects Gitlab Gitlab.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Gitlab","product":"Gitlab","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.