MOSIR
No. 09 · Free Published by MOSIR

No. 09 · Oct 29, 2026 · The lead

Alpine Linux rebuilds its GitLab after an attack hit a patch gap in Ruby

An attacker spent a week trying to exploit GitLab's CVSS 10 flaw on Alpine's server. Alpine had upgraded GitLab, but the fix lives in Ruby, which its image had not patched.

By the Local Intelligence Wire desk · Wimberley, Texas ·

Alpine Linux, the small distribution behind many Docker base images, said on Oct 28 that an attacker tried for days to exploit CVE-2026-97229 on its self-hosted GitLab server. The flaw, rated 10.0 out of 10, lets an unauthenticated attacker run commands through a crafted CI configuration in a public project. GitLab released fixes on Oct 12. The attacker registered an account on Oct 20, crashed GitLab worker processes eight times on Oct 21 and got partway through the exploit in four of those attempts.

Alpine found no evidence the attack succeeded but treated the server as compromised. It rebuilt the instance, reset every password and replaced GitLab's secret keys, finishing on Oct 28. It says its packages, the Oct 21 releases and their images were checked against outside records and show no tampering, and that signing keys were never on the GitLab server.

The instructive part is why the upgrades did not close the hole. Alpine first installed 19.3.4 by mistake instead of the fixed 19.3.5, then upgraded to 19.3.6 on Oct 22, and the server was still vulnerable on Oct 26. The fix is a patch to Ruby's regular expression engine that GitLab applies only in its official packages; Alpine's image used standard Ruby. Alpine now says self-hosted GitLab needs Ruby 3.3.13, 3.4.12 or 4.0.9 or later, not just a GitLab upgrade, and that its alpinelinux/gitlab:19.3.6 image must be pulled again in the version published Oct 27.

A public proof of concept has been available since Oct 13. Censys estimated about 25,766 exposed hosts at that time, according to SecurityOnline. GitLab.com was patched by GitLab and is not affected.

Why it mattersMany consultants and small IT shops self-host GitLab or similar tools for client code, AI pipelines and runbooks. Alpine's case shows that a version number can say "patched" while the vulnerable component underneath is not, and community or repackaged container images are where that happens.

For consultantsFor any self-hosted GitLab, check the Ruby version inside the running container, not only the GitLab version, and keep public sign-up and public CI off unless a client needs them.

Sources

Read the full Oct 29, 2026 edition