{"id":"MSF-multi--http--gitlab_cicd_regexp_rce_cve_2026_97229","name":"GitLab CI/CD RegExp Integer Overflow Remote Code Execution","description":"This module exploits an integer overflow in the Ruby regular expression compiler through GitLab's CI lint API. An attacker with credentials for a user who can push to a public project plants a crafted CI configuration and repository path. An unauthenticated CI lint request then compiles the expression and executes a command as the GitLab git account. The module selects the native pcode and libruby layout for affected official GitLab CE and EE Docker images on Linux amd64. Each attempt allocates slightly more than 2 GiB and crashes a Puma worker after execution. GitLab 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2 are affected. The official 19.3.4 package already contains the Ruby overflow fix and is not supported. Rebuilt packages and source installations may require different native layouts.","cves":["CVE-2026-97229"],"author":"joaxcar, Jonah Burgess, jheysel-r7","published":"2026-10-12","platform":"Linux","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/90dfbaa741421d0179f9f371109c215d49400444/modules/exploits/multi/http/gitlab_cicd_regexp_rce_cve_2026_97229.rb","path":"modules/exploits/multi/http/gitlab_cicd_regexp_rce_cve_2026_97229.rb","revision":"90dfbaa741421d0179f9f371109c215d49400444","filename":"gitlab_cicd_regexp_rce_cve_2026_97229.rb","vulnerabilities":[{"id":"CVE-2026-97229","state":"PUBLISHED","title":"Integer Overflow or Wraparound in GitLab","titleSource":"CVE Program","description":"GitLab has remediated an issue in GitLab CE/EE affecting all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2 that, under certain conditions, could have allowed 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.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2026-97229","cvss":{"version":"3.1","baseScore":10,"severity":"critical","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitLab","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-97229"},"updatedAt":"2026-10-30T23:18:16.598Z","retrievedAt":"2026-11-25T16:13:33.698Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-multi--http--gitlab_cicd_regexp_rce_cve_2026_97229.png?v=2","url":"https://exploitbin.com/exploits/MSF-multi--http--gitlab_cicd_regexp_rce_cve_2026_97229","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--http--gitlab_cicd_regexp_rce_cve_2026_97229/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--http--gitlab_cicd_regexp_rce_cve_2026_97229/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}