Vulnerabilities · 48 days ago

GitLab regex flaw now has a working command-execution PoC

Rapid7 published an end-to-end proof of concept for command execution in vulnerable self-managed GitLab CE/EE (CVE-2026-97229), demonstrating it on GitLab 19.4.1. The release shifts the evidence from a severe advisory without reported in-the-wild exploitation to a working exploit.

GitLab evaluates regular expressions in continuous-integration (CI) rules to check repository paths. An oversized pattern can overflow the regular-expression engine’s size calculation; with attacker-supplied CI configuration and a specially named path, the flaw runs commands as GitLab’s host-level `git` account.

Rapid7’s demonstrated route requires an attacker to push those inputs to a public project; only the final CI lint request is unauthenticated. For self-managed instances, that makes write access to public projects an interim exposure boundary, but patching alone does not establish whether an instance was already reached. GitLab says GitLab.com was patched before disclosure and Dedicated customers need no action.

The demonstrated route depends on credential-free access to attacker-writable public projects, making that exposure a key interim control while route restrictions remain temporary mitigation.

CVE-2026-97229

NVD KEV

EUVD-2026-98214 · Source: ENISA EUVD

Known exploited · CISA KEV

CISA federal remediation date Nov 1

Timeline

Sources

11 sources covering this story

Entities

Part of the PlainSec briefing for 2026-10-22

Editions

Related stories