DKDKCISSP
Vulnerabilities

Attacker Tried to Exploit Alpine Linux’s GitLab via CVSS 10.0 Flaw Its Ruby Left Open

An attacker tried to exploit a critical GitLab vulnerability on the Alpine Linux project's own GitLab server a week after GitLab released a fix , Alpine Linux said on 28 October.

DKCISSP News DeskThe Hacker News29 Oct 2026, 2:35 pm3 min read
Attacker Tried to Exploit Alpine Linux’s GitLab via CVSS 10.0 Flaw Its Ruby Left Open
Image courtesy of The Hacker News. Original report
DKCISSP REPORT

An attacker tried to exploit a critical GitLab vulnerability on the Alpine Linux project's own GitLab server a week after GitLab released a fix , Alpine Linux said on 28 October.

The flaw, CVE-2026-97229 (CVSS score: 10.0), can let an attacker run code on a GitLab server through a crafted regular expression in a CI configuration.

Alpine found no evidence that the attack worked but cannot rule it out, so it rebuilt the server from scratch and reset every account's password.

A GitLab upgrade does not change a server's own Ruby, so a GitLab install on standard Ruby keeps the flaw until Ruby itself is updated to a fixed version, as Alpine found .

Alpine's GitLab image used standard Ruby, so upgrading the server to GitLab 19.3.6 on 22 October did not fix the flaw.

The attacker also downloaded Alpine's GitLab container image, which Alpine said: "suggests they were tuning the exploit to our exact build." Alpine blocked the account on 23 October.

Timing probes showed no delays;; there were no unexpected files, keys, hooks, or processes; and no private data was sent back to the attacker via any web or API request that Alpine can see.

Because the evidence needed to confirm code execution no longer exists, Alpine treated the server as compromised and rebuilt it to remove any foothold a successful exploit could have left.

In 4 of those crashes, the attacker got partway through the exploit and failed at the next step, according to Alpine, and those steps cover only Rapid7's exploit route and do not fix the vulnerable regular expression compiler, the company said.

That exploit needs write access first: the attacker must commit a malicious .gitlab-ci.yml file and a file path with UTF-8 characters to a branch of a public project.

What happened

An attacker tried to exploit a critical GitLab vulnerability on the Alpine Linux project's own GitLab server a week after GitLab released a fix , Alpine Linux said on 28 October.

The flaw, CVE-2026-97229 (CVSS score: 10.0), can let an attacker run code on a GitLab server through a crafted regular expression in a CI configuration.

What changed

Alpine found no evidence that the attack worked but cannot rule it out, so it rebuilt the server from scratch and reset every account's password.

A GitLab upgrade does not change a server's own Ruby, so a GitLab install on standard Ruby keeps the flaw until Ruby itself is updated to a fixed version, as Alpine found .

Who is affected

Alpine's GitLab image used standard Ruby, so upgrading the server to GitLab 19.3.6 on 22 October did not fix the flaw.

The attacker also downloaded Alpine's GitLab container image, which Alpine said: "suggests they were tuning the exploit to our exact build." Alpine blocked the account on 23 October.

Why it matters

Timing probes showed no delays;; there were no unexpected files, keys, hooks, or processes; and no private data was sent back to the attacker via any web or API request that Alpine can see.

Because the evidence needed to confirm code execution no longer exists, Alpine treated the server as compromised and rebuilt it to remove any foothold a successful exploit could have left.

Technical details

In 4 of those crashes, the attacker got partway through the exploit and failed at the next step, according to Alpine, and those steps cover only Rapid7's exploit route and do not fix the vulnerable regular expression compiler, the company said.

That exploit needs write access first: the attacker must commit a malicious .gitlab-ci.yml file and a file path with UTF-8 characters to a branch of a public project.

Response

GitLab's fix is a set of patches to the Ruby that GitLab ships in its own packages and container images.

Packages built from 20 to 24 October, and the 21 October releases, came from aports changes verified against records outside GitLab, according to Alpine.

What security teams should do

As of 29 October, neither of GitLab's patch release posts for 12 and 21 October tells administrators of self-compiled installs to update Ruby.

The exploit ran commands as GitLab's git user on an unpatched official GitLab 19.4.1 image, but the same input did not run on the patched 19.4.2 image.

Attribution

The Hacker News: An attacker tried to exploit a critical GitLab vulnerability on the Alpine Linux project's own GitLab server a week after GitLab released a fix , Alpine Linux said on 28 October.

What to watch next

Watch for updated vendor guidance and fixed-version details.

MORE IN VULNERABILITIES

More cybersecurity reporting

New Cisco firewall zero-day exploited to crash SSL VPN devicesBleepingComputer · 29 Oct 2026, 4:40 pmAttackers Exploit PHP2Shell Flaws in Internet-Exposed Palo Alto Networks Management InterfacesThe Hacker News · 29 Oct 2026, 11:20 amVolt Typhoon Used Covert Silent Train Network in Four Zero-Day Exploitation CampaignsThe Hacker News · 29 Oct 2026, 11:01 amStudy to investigate sexual messaging between children and adultsBBC News · 28 Oct 2026, 11:38 am