The Watch Log / Actively exploited
GitLab flaw targeted on Alpine Linux server despite version upgrade
Alpine Linux says an attacker tried to exploit CVE-2026-97229. It warns that upgrading GitLab alone may not fix servers using a separate Ruby build.

What happened
Alpine Linux says an attacker tried to exploit a critical flaw on its GitLab server in October. The server hosts a repository used to build Alpine packages. Alpine found no evidence that the attacker ran code, but says it cannot rule out successful access. It rebuilt the server, replaced its secret keys and reset every account password.
CISA added CVE-2026-97229 to its Known Exploited Vulnerabilities catalog on October 29. CISA says the flaw could let an unauthenticated user run code on a GitLab server.
Who is affected
Organizations running GitLab Community Edition or Enterprise Edition should check GitLab's vendor guidance and review the Ruby used by their installations. Alpine says its server remained vulnerable after a GitLab upgrade because its container used standard Ruby rather than the Ruby version bundled in GitLab's packages.
Alpine advises users of its alpinelinux/gitlab image to pull version 19.3.6 again. For servers using Ruby built separately or a custom container, Alpine says upgrading GitLab alone is not enough.
How the attack works
CISA says a specially crafted regular expression in a CI/CD configuration can exploit an integer overflow, a calculation error that can produce an incorrect value. The flaw may let an unauthenticated attacker run code on the GitLab server. Alpine says the attempts crashed worker processes, but the available evidence does not show whether code execution succeeded.
What to do now
- Check GitLab's vendor guidance and apply the relevant security fixes.
- Verify the Ruby version used by self-hosted and custom-container installations.
- Use Ruby 3.3.13, 3.4.12 or 4.0.9, or a later fixed release in the applicable Ruby branch.
- Review internet exposure and investigate signs of access using available logs.
- Follow CISA's applicable patching guidance for affected systems.
Timeline
Worried about this?
HarborSOC watches systems like yours around the clock. If you think you're affected, our analysts can check and help you fix it. What to do in the first hour after a hack · How our 24/7 SOC works
Talk to an analystSources
- CISA KEV: CVE-2026-97229: GitLab Community Edition and Enterprise Edition GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound Vulnerability
- The Hacker News: Attacker Tried to Exploit Alpine Linux’s GitLab via CVSS 10.0 Flaw Its Ruby Left Open
This post was written by HarborSOC from the sources above, which we cross-check before publishing. Facts reported by only one outlet are attributed to it.