1-minute read
What a defender needs to know
Rapid7 reproduced server-side command execution in self-managed GitLab CE 19.4.1 through CVE-2026-97229, a flaw in CI/CD regular-expression compilation. The chain needs a malicious .gitlab-ci.yml and a UTF-8 repository path in a public project. A stranger can supply these on instances that permit new accounts to create public projects; an existing untrusted writer can also place the content. Rapid7 reports no confirmed exploitation in the wild as of October 13.
The expression initially passes validation compiled for US-ASCII. Matching it against a UTF-8 path makes Onigmo compile it again after validation, where an integer overflow can produce invalid VM instructions. Rapid7’s input executed on official 19.4.1 CE and not on patched 19.4.2 CE.
Check the running version of each self-managed CE or EE instance. Upgrade affected 19.2 installations to 19.2.8 or later, 19.3 to 19.3.5 or later, and 19.4 to 19.4.2 or later. During rollout, restrict anonymous public-project access and prevent untrusted accounts from creating or writing public projects. Verify both the installed version and the public-project permission state after the change. Project restrictions cover the demonstrated delivery path, while the patch fixes the compiler. Investigate unexpected public-project content separately; Rapid7 supplies no validated production attack signature. GitLab.com has been patched, and GitLab Dedicated customers need no action for this issue.