rootpwn

Advisories

Critical GitLab CE/EE Vulnerability (CVE-2026-97229) – Immediate Upgrade Required

An integer‑overflow flaw in GitLab’s CI/CD regex compiler (CVE‑2026‑97229) allows unauthenticated code execution on self‑managed instances. All GitLab Community and Enterprise Editions older than 19.4.2, 19.3.4, or 19.2.8 must be patched immediately, prioritizing internet‑facing deployments.

What happened

A flaw in the CI/CD regular‑expression compiler triggers an integer overflow when processing a crafted expression, enabling an unauthenticated attacker to execute arbitrary code on the GitLab server. The issue is catalogued as CVE‑2026‑97229 and carries a CVSS score of 10.0.

Impact

  • All self‑managed GitLab Community Edition and Enterprise Edition releases before 19.4.2, 19.3.4, or 19.2.8 are vulnerable.
  • Additional critical bugs fixed in the same release include CVE‑2026‑92883 (cross‑site scripting via syntax highlighting), CVE‑2026‑16301 (pipeline privilege escalation), and a cache‑poisoning flaw that could expose protected CI/CD variables.

What to do

  • Upgrade immediately to GitLab 19.4.2 (CE/EE), 19.3.4, or 19.2.8.
  • Prioritize internet‑facing instances; restrict external access to the GitLab API and web UI until patched.
  • Verify the upgrade by checking the version string and reviewing audit logs for unexpected pipeline activity.
  • Apply least‑privilege controls on CI/CD variables and review repository permissions to mitigate residual risk.

Additional context

GitLab’s patch notes indicate the vulnerability stemmed from weak validation of regular expressions in the CI/CD compiler. The fix removes the integer‑overflow path and hardens input handling.

GitLab CVE-2026-97229 CI/CD arbitrary code execution unattended

← All news