Skip to main content
Aesparrow Consulting
Cybersecurity News

GitLab CVE-2026-97229: Critical Security Vulnerability

GitLab CVE-2026-97229 is a critical security flaw with a CVSS score of 10.0. Learn about affected versions, patches, and essential security measures.

7 min read By Aesparrow Security Research Team

GitLab has released security updates addressing CVE-2026-97229, a critical vulnerability with a CVSS score of 10.0 that could allow unauthenticated attackers to execute arbitrary code on affected servers. The flaw involves insufficient validation of specially crafted regular expressions in CI/CD configurations. Organizations should upgrade vulnerable installations and review their security controls.

Key takeaways

  • GitLab CVE-2026-97229 carries a critical CVSS score of 10.0.
  • The vulnerability involves insufficient regular expression validation in CI/CD configurations.
  • Affected GitLab installations should be upgraded to the appropriate patched versions.
  • The same patch release addresses additional high-severity security vulnerabilities.
  • Organizations should review CI/CD configurations, protect credentials, restrict permissions, and monitor suspicious activity.

Introduction

GitLab has released security updates addressing a critical vulnerability that could allow unauthenticated attackers to execute arbitrary code on affected servers. The vulnerability, identified as CVE-2026-97229, carries a maximum CVSS severity score of 10.0, highlighting the potential consequences for organizations using vulnerable GitLab Community Edition (CE) and Enterprise Edition (EE) installations.

The flaw is associated with insufficient validation of specially crafted regular expressions in Continuous Integration and Continuous Delivery (CI/CD) configurations. This discovery reinforces the importance of timely security updates, secure software configuration, and continuous vulnerability monitoring.

For organizations relying on GitLab to manage source code and automate software delivery, addressing this vulnerability should be a priority.

Official reference: GitLab security advisory for the patch release: docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released

Understanding the Critical Vulnerability

According to GitLab's security advisory, CVE-2026-97229 could, under certain conditions, allow an unauthenticated user to execute arbitrary code on a vulnerable GitLab server through a specially crafted regular expression in a CI/CD configuration.

The issue has been described as an integer overflow vulnerability related to insufficient regular expression validation.

Unauthenticated code execution is particularly concerning because an attacker may not need a legitimate account to exploit the affected functionality. Depending on the environment and the privileges available to the vulnerable service, successful exploitation could threaten server confidentiality, integrity, and availability.

A compromised source-code management platform may also create additional risks for repositories, development pipelines, deployment credentials, and connected infrastructure.

Which GitLab Versions Are Affected?

GitLab identified the following affected release ranges:

  • 19.2: Versions earlier than 19.2.8.
  • 19.3: Versions earlier than 19.3.5.
  • 19.4: Versions earlier than 19.4.2.
  • GitLab has released patched versions 19.2.8, 19.3.5, and 19.4.2 to address the critical vulnerability.
  • Administrators should verify their installed versions against the official advisory and follow GitLab's upgrade guidance.

Additional High-Severity Vulnerabilities

The same patch release also addresses three high-severity security issues.

CVE-2026-92883: A cross-site scripting vulnerability that could allow authenticated users to execute JavaScript in other users' browser sessions through a specially crafted repository.

CVE-2026-16301: An authorization weakness that could allow a user with the Developer role to execute CI/CD pipelines on protected branches.

CVE-2026-14814: A regular expression validation issue that could enable cache poisoning involving raw repository files, potentially affecting pipeline execution and exposing protected environment variables.

Together, these findings demonstrate how weaknesses in input validation, authorization, and caching can affect software development environments.

Recommended Security Measures

Organizations using GitLab should take the following steps:

  • 1. Apply security updates: Upgrade affected installations to the appropriate patched release as soon as possible.
  • 2. Review CI/CD configurations: Inspect pipeline definitions, regular expressions, repository changes, and unexpected execution behavior.
  • 3. Protect sensitive credentials: Rotate potentially exposed tokens and secrets, and store them securely.
  • 4. Restrict permissions: Apply least-privilege access controls to repositories, protected branches, runners, and deployment environments.
  • 5. Monitor suspicious activity: Review authentication records, pipeline execution logs, administrative events, and unexpected server processes.
  • 6. Investigate potential compromise: If exploitation is suspected, preserve evidence and conduct a thorough security assessment before considering the environment safe.

Conclusion

The CVSS 10.0 GitLab vulnerability highlights the serious risks associated with insufficient input validation in critical development infrastructure. Delayed patching can leave source-code repositories and automated deployment workflows exposed to potentially damaging attacks.

AESPARROW CONSULTING PVT. LTD. encourages organizations to maintain an effective vulnerability management program, regularly assess development infrastructure, and prioritize critical security advisories.

Secure your development pipeline before a vulnerability becomes a business-critical incident.

Frequently Asked Questions

1. What is GitLab CVE-2026-97229?

CVE-2026-97229 is a critical GitLab vulnerability involving insufficient regular expression validation in CI/CD configurations. Under certain conditions, it could allow an unauthenticated attacker to execute arbitrary code on an affected server.

2. What is the severity of CVE-2026-97229?

The vulnerability has a CVSS severity score of 10.0, which is classified as critical.

3. Which GitLab versions are affected?

According to the provided article, affected versions are GitLab 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2. Administrators should check the official GitLab security advisory for the applicable fixed versions.

4. How can organizations protect their GitLab installations?

Organizations should apply the appropriate security updates, review CI/CD configurations, protect sensitive credentials, enforce least-privilege permissions, monitor suspicious activity, and investigate any suspected compromise.

5. What other vulnerabilities were addressed in the same patch release?

The article identifies CVE-2026-92883, a cross-site scripting vulnerability; CVE-2026-16301, an authorization weakness involving protected branches; and CVE-2026-14814, a regular expression validation issue associated with cache poisoning.

6. Why is unauthenticated code execution dangerous?

Unauthenticated code execution may allow an attacker to execute code without a legitimate account. Depending on the environment and service privileges, successful exploitation could threaten confidentiality, integrity, and availability and create risks for repositories, deployment credentials, and connected infrastructure.

7. Where can administrators find the official GitLab security advisory?

Administrators can consult the official GitLab patch release advisory at https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/ for security update information.

Get expert advice

Put this into practice with Aesparrow

Our cybersecurity experts help you find risks, apply best practices and keep your systems secure — with a free, no-obligation assessment to start.

  • Expert guidanceTailored security advice
  • Proven experienceReal-world expertise
  • Trusted partnerYour security first
1

Your details

For a faster reply. We never cold-call or share your number.

2

Your organisation

3

Your project

  • Reply in 1 business day
  • No obligation
  • NDA on request

Your details are sent over an encrypted connection and used only to reply to you. See our privacy policy.

Keep reading

All articles

Ready to strengthen your security?

Let’s find the gaps before attackers do

Get in touch with our team and start your security journey today.

Get in Touch

Let’s find the gaps before someone else does.

Tell us what you need tested for a fixed-scope quote, or talk it through with an Aesparrow practitioner — no obligation, no sales script.

WhatsApp Call Get Quote