Alpine Linux Rebuilds GitLab After Attack Targeting Critical RCE Flaw

Attackers repeatedly attempted to exploit a maximum-severity remote code execution flaw, CVE-2026-97229, in Alpine Linux's GitLab development infrastructure on October 20-21, prompting the open-source project to rebuild its GitLab server from scratch and reset all passwords. The vulnerability is an integer overflow bug in GitLab's CI/CD regular expression compiler, Onigmo, which is bundled with Ruby and lets unauthenticated attackers execute arbitrary code via specially crafted CI/CD pipeline configurations. Although GitLab patched the flaw on October 12, Alpine initially installed an outdated version, and later upgrades failed to fully close the hole because the fix required a Ruby patch that Alpine's custom container image did not include.

During the attacks, malicious CI configurations caused eight worker crashes, four of which were partially successful, though none appeared to achieve full code execution. Investigators found that the attackers downloaded Alpine's GitLab container image, suggesting preparation for a possible supply-chain attack. Because Alpine's GitLab hosts development repositories, code reviews, and CI jobs, including the "aports" build recipes used to produce Alpine's software packages, tampering could have affected downstream software, especially since Alpine is widely used as the foundation for Docker container images.

Alpine Linux reports finding no evidence that attackers executed code or tampered with its packages and releases, but missing logs and a lack of outbound connection records mean a successful compromise cannot be ruled out. The team says it chose to rebuild the GitLab instance from scratch rather than assume the infrastructure was safe. Users are advised to ensure they have installed the patched GitLab 19.3.5 or later, with the corrected Ruby component included, and to update their credentials following the password reset.

Read More at the original source →