---
title: "GitLab maximum-severity flaw CVE-2026-97229 exploited against Alpine Linux server"
description: "An attacker tried to break into the Alpine Linux project's own GitLab server using CVE-2026-97229, a maximum-severity GitLab flaw fixed on 12 October."
url: "https://shadowmap.com/threat-intel/gitlab-cve-2026-97229-alpine-linux-attack/"
---

[All incident reports](https://shadowmap.com/threat-intel/) 

 Incident report 

#  GitLab maximum-severity flaw CVE-2026-97229 exploited against Alpine Linux server 

 An attacker tried to break into the Alpine Linux project's own GitLab server using CVE-2026-97229, a maximum-severity GitLab flaw fixed on 12 October. Alpine found no evidence the attempt worked but could not rule it out, so it rebuilt the server, reset every password and replaced its secret keys. 

[ShadowMap Research](https://shadowmap.com/threat-intel/about/)  · First published 29 Oct 2026, 14:35 IST 

## The short version

- **The flaw.** CVE-2026-97229 carries a CVSS score of 10.0 and could let an unauthenticated user run code on a GitLab server through a crafted regular expression in a CI configuration. GitLab fixed it on 12 October in 19.4.2, 19.3.5 and 19.2.8.
- **The attack.** A newly registered account sent crafted CI configurations to _Alpine Linux's GitLab_ server on 20 and 21 October, crashing worker processes. Alpine blocked the account on 23 October and the attacker returned on 25 and 26 October without success.
- **The rebuild.** Alpine's 22 October upgrade to GitLab 19.3.6 did not close the flaw because it sits in Ruby. Alpine shut GitLab to all but developers and build servers on 27 October, finished rebuilding on 28 October, reset all passwords and replaced GitLab's secret keys.
- **What is not known.** Alpine found no sign that code ran, but says a successful exploit would leave no trace and some logs are gone, so it treated the server as compromised. It has not said whether runner tokens, CI/CD variables, access tokens or integration credentials were replaced.
- **Wider exposure.** CISA added CVE-2026-97229 to its _Known Exploited Vulnerabilities_ catalogue after confirming exploitation. Shadowserver tracks nearly 2,800 internet-exposed _GitLab Community Edition_ instances and does not say how many are patched.

## Timeline

| Date      | Event                                                                                                              |
| --------- | ------------------------------------------------------------------------------------------------------------------ |
| 12 Oct    | GitLab publishes its advisory and patches CVE-2026-97229 in 19.4.2, 19.3.5 and 19.2.8.                             |
| 13 Oct    | Rapid7 publishes proof-of-concept exploit code for the flaw.                                                       |
| 13 Oct    | Alpine upgrades its GitLab server to 19.3.4 rather than 19.3.5, which it later calls a mistake.                    |
| 20 Oct    | A newly registered account begins probing _Alpine's GitLab_ server.                                                |
| 20-21 Oct | The account sends crafted CI configurations that crash GitLab worker processes.                                    |
| 22 Oct    | Alpine upgrades to GitLab 19.3.6, which does not fix the flaw because the server runs standard Ruby.               |
| 23 Oct    | Alpine blocks the attacker's account.                                                                              |
| 25-26 Oct | The attacker returns and tries to regain access, without success.                                                  |
| 26 Oct    | Alpine finds the server is still vulnerable.                                                                       |
| 27 Oct    | Alpine closes GitLab to everyone except developers and build servers and starts rebuilding it.                     |
| 28 Oct    | The rebuild finishes and Alpine discloses the attack.                                                              |
| October   | CISA adds CVE-2026-97229 to its _Known Exploited Vulnerabilities_ catalogue, saying it has confirmed exploitation. |

## How the attack on Alpine's server unfolded

_Alpine Linux_ said an attacker tried to exploit CVE-2026-97229 on gitlab.alpinelinux.org, the server that hosts aports, the repository from which its packages are built. The server was on GitLab 19.3.4, which Alpine installed on 13 October instead of 19.3.5 and calls a mistake. It was still on that version, without the 12 October fix, when a newly registered account began probing the server on 20 October.

The account sent crafted CI configurations on 20 and 21 October. They crashed GitLab worker processes eight times, and the main attack on 21 October also produced 502 errors and failed CI jobs. In four of the crashes the attacker got partway through the exploit and failed at the next step, Alpine said. The attacker also downloaded _Alpine's GitLab_ container image. Alpine blocked the account on 23 October; the attacker returned on 25 and 26 October and failed.

On 26 _October Alpine_ found the server was still vulnerable after its 22 October upgrade to 19.3.6\. The next day it closed GitLab to everyone except developers and build servers and began a rebuild, which finished on 28 October. Alpine reset every account's password and replaced GitLab's secret keys; the rebuilt server runs Ruby 3.3.13 or later and was being tested before reopening. SecurityWeek reports automated login attempts using passwords compromised in other leaks.

## Why upgrading GitLab was not enough

GitLab compiles the regular expressions in CI configurations with Ruby, and the bug is in Onigmo, the regular expression engine built into Ruby. GitLab's 12 October release fixed it by patching the Ruby inside GitLab's own Linux package and container images. Ruby's fixed versions came out on 22 and 23 October. _A GitLab_ upgrade does not change a server's own Ruby, so an install on standard Ruby stays vulnerable, as Alpine found.

BleepingComputer describes the weakness as an integer overflow in the CI/CD regular expression compiler. GitLab's advisory describes insufficient regular expression validation and says that, under certain conditions, an unauthenticated user could have executed arbitrary code. _GitLab.com and GitLab Dedicated_ are already patched. As of 29 October, GitLab's patch posts did not tell self-compiled administrators to update Ruby, and its self-compiled guide still listed Ruby 3.2, which reached end of life in April and will get no fix.

Rapid7 built a working exploit and published proof-of-concept code on 13 October. It ran commands as GitLab's git user on an unpatched official 19.4.1 image but not on the patched 19.4.2 image. That route needs write access first: a malicious .gitlab-ci.yml file and a file path with UTF-8 characters committed to a branch of a public project. The requirement does not apply where new users can register themselves and create projects, and Rapid7 says only the final CI lint request is unauthenticated.

## What could have been exposed and who is still at risk

Alpine found no sign that the attacker's code ran: timing probes showed no delays, there were no unexpected files, keys, hooks or processes, and no private data was returned through any web or API request. It cannot be sure, because a successful exploit would leave no crash and no trace in the web logs, some logs from the attack day are gone and neither Alpine nor its hosting provider logged outbound connections. It treated the server as compromised.

Had the attack worked, Alpine says, the exposed data could have included users' email addresses, names and IP addresses, password hashes, two-factor authentication secrets, CI/CD variables and runner tokens, webhook, integration and push mirror credentials, hashed personal access tokens, private repositories and confidential issues and merge requests. The keys that sign Alpine's packages and releases have never been on the GitLab server. Alpine checked aports changes added from 20 to 22 October against a developer's copy of the repository and all 45 build servers, and said packages built from 20 to 24 October and the 21 October releases came from aports changes verified against records outside GitLab; it is extending the checks to 27 October.

Shadowserver tracks nearly 2,800 internet-exposed _GitLab Community Edition_ instances and does not say how many have been secured. CISA added CVE-2026-97229 to its _Known Exploited Vulnerabilities_ catalogue after confirming it is exploited, and encouraged all security teams, including in the private sector, to prioritise patching. BleepingComputer notes the flaw follows several other maximum-severity GitLab issues this year. GitLab has released threat detections for self-managed instances.

## What ShadowMap sees: _GitLab_

- 18 indicators of compromise in ShadowMap's threat feed are linked to _CVE-2026-97229_.  
| Type       | Indicator (defanged)                                               |  
| ---------- | ------------------------------------------------------------------ |  
| SHA-256    | _ffe052fc50271e7739d458b155df790438776032bfd125b974735e1dd9c0b138_ |  
| SHA-256    | _eaf0086237879bbaac00a5874c0e2ff84deede1ba10e6b706e2288fd3a31cdde_ |  
| SHA-256    | _a0ba4e1ad622d9c3d950b4156d4430812d05bee216ab22c3804a9f7a80535556_ |  
| SHA-256    | _8e8b9532ce40eacfe1b4cf2b11241878b70b910aabd90b453b1460df19b51a4d_ |  
| SHA-256    | _6774bfed99da38cec82e721de4bd64a67db7840efadcc71e7df02eb6f0a03c44_ |  
| SHA-256    | _56a892d80096a9db4ca473a9c3109729c60a5ba901d6ba65948bdb1f4a6fb186_ |  
| SHA-1      | _c6e443496337f0fab189bbbdfe91a102f1d56678_                         |  
| SHA-1      | _30b71217b1e8d5b13394d4ffe3b11029d14adfa4_                         |  
| MD5        | _b215276fe51063cf2e4d38bbffddb112_                                 |  
| MD5        | _b0871d353743fb2736f3b5ecf178788a_                                 |  
| IP address | _192\[.\]159\[.\]99\[.\]139_                                       |  
| IP address | _209\[.\]74\[.\]64\[.\]192_                                        |  
| IP address | _179\[.\]60\[.\]146\[.\]241_                                       |  
| IP address | _31\[.\]56\[.\]197\[.\]72_                                         |  
| IP address | _62\[.\]133\[.\]62\[.\]80_                                         |  
| IP address | _46\[.\]151\[.\]182\[.\]18_                                        |  
| SHA-256    | _1f19b9a27d79c11bda00a1e8faf74a7fdd683d38ccef1b60df2fd0307e3aa462_ |  
| SHA-256    | _dc14e215269a93fdbc4c1a80b984c23faf7af0911c6dbb85309796a6f2ae95fb_ |  
As of 30 Nov 2026

## What is not known yet

- Whether the attacker's code actually executed on gitlab.alpinelinux.org.
- Who carried out the attack and where they were located.
- Whether runner tokens, CI/CD variables, access tokens and integration credentials stored on the GitLab server have been replaced.
- How the attacker's CI configurations reached GitLab, and whether new accounts could create public projects on Alpine's server.
- How many internet-exposed GitLab instances remain unpatched.

## What to do

### If you run GitLab with your own Ruby

1. _Upgrade GitLab_ to a fixed release for your version branch as listed in GitLab's advisory.
2. Update the underlying Ruby to 3.3.13, 3.4.12, 4.0.9 or later, because Alpine says upgrading GitLab alone is not enough.
3. If you use Alpine's alpinelinux/gitlab image, pull 19.3.6 again.
4. Check whether you are still on Ruby 3.2, which reached end of life in April and will get no fix.

### If you run a packaged or managed GitLab instance

1. Apply the patched GitLab release for your branch.
2. Turn on the threat detections GitLab released for self-managed instances.
3. Check logs for crashed worker processes, 502 errors and failed CI jobs, and for CI configurations pushed by newly registered accounts.
4. Review whether self-registration and public project creation are open on your instance.

### For everyone else

1. Find internet-exposed GitLab servers on your estate and confirm their patch level, given nearly 2,800 _Community Edition_ instances are tracked online.
2. Prioritise patching this flaw, as CISA has urged all security teams to do.

## From vulnerability news to your exposure

A newly exploited vulnerability does not mean every organisation is equally exposed. The useful questions are whether the affected technology is present, which version is running and whether the vulnerable service is reachable.

ShadowMap monitors external assets, services and technologies, correlating them with vulnerability intelligence. Where testing is safe and authorised, selected exposures can also be validated through CART. A version match alone is not proof of exploitation.

[Attack surface management in ShadowMap](https://shadowmap.com/attack-surface-management/)

## Update log

- 29 Oct 2026, 14:35 IST First published.

## Sources

- [CISA says max severity GitLab flaw now exploited in the wild](https://www.bleepingcomputer.com/news/security/hackers-now-exploiting-max-severity-gitlab-flaw-in-attacks/) BleepingComputer, 30 Oct 2026
- [Max-Severity GitLab Vulnerability Exploited Against Alpine Linux](https://www.securityweek.com/max-severity-gitlab-vulnerability-exploited-against-alpine-linux/) SecurityWeek, 30 Oct 2026
- [Attacker Tried to Exploit Alpine Linux’s GitLab via CVSS 10.0 Flaw Its Ruby Left Open](https://thehackernews.com/2026/10/attacker-tried-to-exploit-alpine-linuxs.html) The Hacker News, 29 Oct 2026

### New incident reports by email

One email a week with the reports published since the last one.

We email you about this topic only; unsubscribe any time. See our [Privacy Policy](https://shadowmap.com/privacy-policy/).

You are on the list. The next weekly email will include you.

That did not go through. Please try again.

[Add ShadowMap as a preferred source on Google](https://www.google.com/preferences/source?q=shadowmap.com) 

##  Want us to look at your domain? 

 Give us one apex domain and we'll send back a written snapshot of what is already visible from outside. No call required. 

[ Get a free exposure snapshot ](https://shadowmap.com/resources/exposure-snapshot/?source=threat-intel-gitlab-cve-2026-97229-alpine-linux-attack) [ Book a 30-minute demo ](https://shadowmap.com/contact/?source=demo&threat-intel=gitlab-cve-2026-97229-alpine-linux-attack)
