CVE-2024-8311
GitLab vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2024-8311) was discovered in GitLab Enterprise Edition (EE) affecting versions from 17.2 prior to 17.2.5 and 17.3 prior to 17.3.2. The vulnerability allows authenticated users to bypass variable overwrite protection through the inclusion of a CI/CD template (GitLab Release).

Technical details

The vulnerability is related to pipeline execution policies in GitLab EE, where variables from settings are not properly overwritten by Pipeline Execution Policy (PEP) when a template is included. This security flaw has been assigned a CVSS v3.1 base score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N, indicating network accessibility, low attack complexity, and required low privileges (NVD).

Impact

The vulnerability enables authenticated users to bypass variable overwrite protection mechanisms in GitLab's CI/CD pipeline configuration. This could potentially lead to unauthorized modification of pipeline variables, compromising the intended security controls set by pipeline execution policies (Cyble).

Mitigation and workarounds

GitLab has addressed this vulnerability in versions 17.2.5 and 17.3.2. Organizations are strongly advised to upgrade to these patched versions immediately. GitLab.com is already running the patched version, and GitLab Dedicated customers do not need to take any action (GitLab Release).

Community reactions

The vulnerability was discovered internally by GitLab team member Andy Schoenen, demonstrating GitLab's commitment to internal security research and responsible disclosure (GitLab Release).

Additional resources


SourceThis report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-12571HIGH7.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
NoYesNov 26, 2025
CVE-2025-7449MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025
CVE-2025-12653MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025
CVE-2025-13611MEDIUM5.3
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
NoYesNov 26, 2025
CVE-2025-6195MEDIUM4.3
  • GitLabGitLab
  • gitlab
NoYesNov 26, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management