What is CVE-2026-97229?
GitLab Community Edition and Enterprise Edition contain a integer overflow or wraparound vulnerability that could allow an unauthenticated user to execute arbitrary code on the GitLab server via a specially crafted regular expression in a CI/CD configuration, due to insufficient regular expression validation.
CISA added this issue to its exploited-vulnerability catalog on 2026-10-29. This is the catalog date, not this article’s publication date.
Sources: CISA Known Exploited Vulnerabilities catalog, CVE-2026-97229 — NVD, CVE-2026-97229 — CVE Program record
First, confirm where the vulnerable product is running
CVE-2026-97229 is an integer overflow/wraparound in GitLab CE/EE via crafted regex in CI/CD configurations, allowing unauthenticated arbitrary code execution. Affected versions span 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2. The official record notes the fix was released in GitLab 19.4.2. Fixed versions are not established by the structured catalog; verify in the linked vendor advisory. CISA KEV and BOD 26-04 require prioritized patching. No vendor appliance package format, Kubernetes deployment, or managed service exposure is documented in the sources; do not assert affected/unaffected status for any cloud offering beyond what the data supports. Remediation follows vendor instructions and BOD 26-04 risk-based prioritization, including internet-exposure assessment and forensics triage if exploitation is suspected.
The named vulnerable product is GitLab Community Edition and Enterprise Edition. Deployment on a cloud platform does not by itself establish that a managed AWS, Azure or GCP service is vulnerable. Confirm the product, version, vendor-supported deployment and remediation owner.
Vendor remediation comes first
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Use the current vendor advisory for affected versions and fixed builds. This catalog entry does not establish a universal fixed version or a cloud-specific hotfix.
Sources: CISA Known Exploited Vulnerabilities catalog, CVE-2026-97229 — NVD
AWS: remediation and deployment checks
Use these checks only if your inventory confirms an affected, vendor-supported deployment in this environment.
- Check if GitLab runs on an EC2 instance under your control; if so, confirm the OS package or container image can be updated to a version at or above GitLab 19.4.2 using the vendor-supported upgrade path. Do not assume AWS Systems Manager Patch Manager covers this application without confirming the OS and package source support. Verify internet exposure and apply BOD 26-04 risk guidance.
- If GitLab is deployed via AWS Marketplace, review the published AMI version against the GitLab advisory; marketplace images are not vendor-confirmed fixes. Confirm whether the deployment is customer-managed software or a managed service, as remediation ownership differs.
- Validate that any CI/CD pipeline regex handling has been audited per the vendor advisory; the vulnerability arises from insufficient regex validation in CI/CD configs.
- Confirm whether the GitLab instance is internet-facing. If unrestricted, prioritize patching per BOD 26-04; if internal-only, still apply the vendor fix but risk ranking may differ.
Sources: AWS Systems Manager Patch Manager
Azure: remediation and deployment checks
Use these checks only if your inventory confirms an affected, vendor-supported deployment in this environment.
- Confirm the GitLab deployment type: Azure VM, Azure Arc machine, or a managed service like Azure GitHub Actions. If a VM, use Azure Update Manager to assess supported OS and application package updates; do not claim universal third-party appliance patching. Verify the GitLab version against the vendor advisory (19.4.2 or later).
- If GitLab is running as a customer-managed container or VM, check whether the base OS and GitLab package can be updated to a version at or above 19.4.2 using vendor-supported steps. Do not assume Azure Update Manager patches the application without OS/package source alignment.
- Where GitLab is offered as a managed service, applicability is not established by the sources. Do not assert affected or unaffected status. If you control the underlying VM, follow the two checks above.
- Audit CI/CD regex patterns in pipelines against the vendor advisory guidance; the issue stems from insufficient validation in CI/CD configurations.
Sources: Azure Update Manager overview
GCP: remediation and deployment checks
Use these checks only if your inventory confirms an affected, vendor-supported deployment in this environment.
- Verify whether GitLab runs on GKE, Compute Engine, or Cloud Run. For Compute Engine, VM Manager Patch operates through OS Config and OS update mechanisms; confirm the OS and GitLab package can be updated to a version at or above 19.4.2. Do not claim a universal vendor-appliance updater.
- If GitLab is containerized on GKE, check the container image tag against the GitLab advisory. Marketplace images are not vendor-confirmed fixes. Confirm whether the deployment is customer-managed software or a managed service; remediation ownership differs.
- Audit CI/CD regex handling in pipeline definitions per the vendor advisory. The vulnerability arises from insufficient regular expression validation in CI/CD configurations.
- Where GitLab is a managed service, applicability is not established. Do not assert affected or unaffected status. If you control the underlying infrastructure, apply the two checks above.
How to verify the fix
- Confirm the installed GitLab version: log in to the GitLab instance and navigate to Admin Area > Overview, or check the version file, and verify it is at or above 19.4.2 (or the corresponding later version for 19.2/19.3 branches).
- Apply the vendor-supported upgrade path to reach a fixed version. Do not install host agents or alter the base OS without explicit vendor support for the appliance.
- If internet exposure is suspected, follow CISA BOD 26-04 prioritization and perform forensics triage per CISA "Forensics Triage Requirements" before and after patching.
- Review CI/CD pipeline regex patterns for the conditions described in the vendor advisory; audit against the fix described in the GitLab release notes.
Questions teams ask
Can I use my OS patch manager to fix this GitLab vulnerability automatically?
No. The sources indicate that patch managers (OS Config, Systems Manager, Update Manager) operate on supported operating-system packages; they do not vendor-certify arbitrary application or appliance fixes. Apply the GitLab-recommended upgrade path and verify the version. Acknowledged unavailable exact patch version data in the structured catalog; verify in the linked vendor advisory.
Is GitLab affected when deployed on a managed cloud service (e.g., AWS Marketplace, Azure Marketplace, GCP Marketplace)?
Applicability is not established by the sources. The structured catalog does not assert affected or unaffected status for managed cloud services. Distinguish customer-managed software from managed services; remediation ownership and supported upgrade paths differ. Check the vendor advisory for your specific deployment model.
Sources & further reading
- CISA Known Exploited Vulnerabilities catalog
- Source catalog snapshot
- CVE-2026-97229 — NVD
- CVE-2026-97229 — CVE Program record
- Referenced advisory — www.ruby-lang.org
- Referenced advisory — docs.gitlab.com
- Referenced advisory — www.cisa.gov
- Referenced advisory — www.cisa.gov
- CVE record reference — gitlab.com
- CVE record reference — hackerone.com
- CVE record reference — hackerone.com
- CVE record reference — github.com
- CVE record reference — www.ruby-lang.org
- AWS Systems Manager Patch Manager
- Azure Update Manager overview
- Google Cloud VM Manager — About Patch
This brief summarizes public source material. Confirm affected versions and the current vendor instructions before changing production. No original exploit validation is claimed.