ZeroHour

CVE-2026-13210

large

Authenticated CI/CD Variable Environment Scope Bypass in GitLab CE/EE

CVSS 3.1
7.7 high
EPSS
Published
()
Modified
AI analysis

An improper input validation flaw (CWE-863, incorrect authorization) in GitLab's environment scope pattern matcher lets an authenticated user with low privileges read CI/CD variables scoped to environments they should not have access to, under certain conditions. An attacker triggers it by crafting input that causes the pattern matcher to match outside the intended environment scope, exposing secrets such as deploy tokens, cloud credentials, or API keys stored in CI/CD variables. All self-managed GitLab CE/EE installations from 15.7 before 19.1.8, 19.2 before 19.2.6, and 19.3 before 19.3.2 are affected (GitLab's own SaaS instance is patched centrally). There is no known public proof-of-concept and the issue is not on the CISA KEV list, so exploitation is not known to be occurring, though it was disclosed alongside a GitLab security release that also covered more severe flaws.

What to do: Upgrade immediately to GitLab 19.1.8, 19.2.6, or 19.3.2 (or later) depending on your minor-version track. Review audit logs for unexpected CI/CD variable reads by low-privileged users and inspect environment-scope configurations on sensitive variables. Treat any secrets stored in CI/CD variables (tokens, keys, cloud credentials) on vulnerable instances as potentially exposed to all authenticated users and rotate them as a precaution.

Affected
GitLab CE/EE15.7 before 19.1.8
GitLab CE/EE19.2 before 19.2.6
GitLab CE/EE19.3 before 19.3.2
Estimated exposure
large≈50,000–100,000 internet-exposed self-managed GitLab instances, plus GitLab.com SaaS (patched server-side) — Public internet scans (Shodan/Censys) typically show tens of thousands to roughly 100k self-managed GitLab instances exposed, and the affected window (15.7 onward) covers most actively maintained deployments from late 2022 forward.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 15.7 before 19.1.8, 19.2 before 19.2.6, and 19.3 before 19.3.2 that under certain conditions could have allowed an authenticated user to access CI/CD variables outside their intended environment scope due to improper input validation in the environment scope pattern matcher.

Weakness
CWE-863
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

In the news

Critical GitLab Flaws Let Attackers Read Arbitrary Files, Steal Credentials and Execute Code

GitLab issues emergency patches for critical path-traversal flaw CVE-2026-85706 (CVSS 10.0), GraphQL credential exposure CVE-2026-87719, and potential RCE flaw CVE-2026-88765.

GitLab released versions 19.3.2, 19.2.6, and 19.1.8 on September 10, 2026, fixing 18 vulnerabilities across Community and Enterprise Editions. CVE-2026-85706 allows unauthenticated arbitrary file reads via the repository commits API; CVE-2026-87719 exposes Advanced Search credentials through GraphQL subscription deserialization; CVE-2026-88765 may enable authenticated RCE via crafted project export imports. No exploitation was reported, but self-managed administrators are urged to upgrade immediately and review logs for suspicious API and GraphQL activity.