Menu

Self-Managed GitLab and CVE-2026-97229: A Practical Patch and Hunt Checklist
📰

Self-Managed GitLab and CVE-2026-97229: A Practical Patch and Hunt Checklist

DEV Community: cicd·Affix Center Softech Services Pvt. Ltd·7 days ago
#5W7IFniY
#devtocicd#devto#dev#gitlab#ruby
Reading 0:00
15s threshold

CVE-2026-97229 (CVSS 10.0) is an integer overflow in the regular expression compiler that GitLab CI/CD uses. The root cause is in Onigmo, the regex engine inside Ruby. Per Rapid7, an unauthenticated attacker who can commit a crafted .gitlab-ci.yml to a branch in a public project may get code execution on the server. CISA added it to the KEV catalogue on 29 October 2026.

If you run GitLab yourself, here is a short checklist.

1. Find and patch

Inventory every self-managed instance: production, staging, test and the one someone set up two years ago.

Upgrade to a fixed release on your branch: 19.4.2, 19.3.5 or 19.2.8 (or any newer patch release). GitLab.com and GitLab Dedicated are already patched.

Running a source install or a separately installed Ruby? The fix covers the Ruby bundled with the official Linux packages and container images, so check whether your Ruby also needs an update.

2.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.