fix-gitlab-vuln
Use when the user asks to fix, patch or upgrade a self-managed GitLab vulnerability (e.g. 'Please fix my GitLab vulnerability'), CVE-2026-110264 or the GitLab…
от CognitionAI★ 42 звезды на GitHub
Установить fix-gitlab-vuln в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Fix GitLab vulnerability (CVE-2026-110264, October 21, 2026 critical patch)
Overview
Find and patch self-managed GitLab instances affected by CVE-2026-110264. It is a CVSS 10.0 unauthenticated RCE caused by an integer overflow in the Onigmo regex compiler, and it affects every CE/EE version from 7.0. Fixed releases: 19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10 and 18.11.13. The same patch release fixes 2 High, 6 Medium and 4 Low issues, and it includes the October 8 fix for CVE-2026-97229 (CVSS 10.0, fixed in 19.4.2/19.3.5/19.2.8). GitLab.com and GitLab Dedicated are already patched, so this playbook covers self-managed installs only. Inventory read-only first. Wait for approval before editing. Patch the IaC that deploys GitLab, verify the running version, and open focused PRs.
What's Needed From User
- Repos or org holding GitLab infrastructure code (Helm values, Terraform, Ansible, Compose, Packer). Default: every repo connected to Devin.
- Whether the user runs GitLab.com, GitLab Dedicated, or a self-managed instance, and the instance URL if self-managed.
- Approval of which deployments to patch, plus a maintenance window for single-node instances.
Procedure
- Search all accessible repos read-only with the git host's code search before cloning (if there is none, which is common on GitHub Enterprise Server and self-managed GitLab, shallow-clone and
rg -n --hidden --glob '!.git'). Look for:gitlab/gitlab-eeandgitlab/gitlab-ceimages, and CNG images (registry.gitlab.com/gitlab-org/build/cng/*).- The
gitlabHelm chart (charts.gitlab.io) and the GitLab Operator. gitlab-ee/gitlab-ceOmnibus packages in Ansible/Chef/Puppet/cloud-init/Packer.- Terraform modules and AMIs that deploy GitLab.
- Source installs (
gitlab-foss/gitlabcheckouts).
- Produce one inventory table: repo, file:line, deployment type (Omnibus, Docker, Helm, Operator, source), edition, current version or chart version, exact/floating pin, node topology (single vs multi-node), and confidence. List repos you could not search separately. If the user is on GitLab.com or Dedicated, say no action is needed and stop.
- Mark each entry fixed, vulnerable, or unknown. If the instance URL is reachable, compare with
/helpor the/api/v4/versionresult (token required). Otherwise rely on the pinned version. - Stop. Show the table, flag single-node instances that will have downtime, and ask which deployments to patch. Change nothing during discovery.
- Start one child session per approved repo, at most five running at once. Each child repeats the inventory for its repo before editing.
- In each child, pick the fixed patch in the same minor and confirm it exists before editing. Check against the registry or package mirror the repo's CI already uses (Artifactory, Nexus, Harbor or a cloud registry) when public hosts are blocked; if neither is reachable, mark the target unverified in the PR and let the CI build prove it.
- Docker:
gitlab/gitlab-ee:<ver>-ee.0orgitlab/gitlab-ce:<ver>-ce.0. Resolve and pin the new digest if digest-pinned. - Helm/Operator: look up the chart version on https://docs.gitlab.com/charts/installation/version_mappings/ (for example, GitLab 19.5.1 is chart 10.5.1 and GitLab 18.11.13 is chart 9.11.14). If that page is unreachable, run
helm search repo gitlab/gitlab -lagainst the chart repo or mirror the cluster uses. Bump the chart version, not justglobal.gitlabVersion. - Omnibus: pin
gitlab-ee=<ver>-ee.0(or the CE equivalent) in the config-management code. - Source: check out the fixed tag and follow the source upgrade guide for the target version.
- Docker:
- If the current version is more than one minor behind or on an unsupported branch, report the required upgrade-path stops (https://gitlab-com.gitlab.io/support/toolbox/upgrade-path/) instead of jumping. Do multi-stop upgrades only with user approval.
- Add rollout notes to each PR:
- A backup before upgrading.
- Downtime for single-node instances, since migrations must finish before GitLab starts.
- Zero-downtime procedure for multi-node instances.
- Post-deploy migrations.
- Validate what you can without production access:
helm template/helm lint,terraform validate/plan,ansible-lint, and Compose config checks. List the post-deploy checks for the user to run:gitlab-rake gitlab:env:infoshowing the fixed version.gitlab-rake gitlab:check.gitlab-ctl status, or pod readiness on Helm.- Background migrations completed.
- Web, Git over SSH and HTTPS, and CI runners working.
- Open one focused PR per repo listing each deployment before → after, chart/image/package versions, digests, upgrade-path notes, downtime expectations, validation results, and the post-deploy checklist.
- Roll up child results into one table: repo, PR, deployment type, before → after, downtime, validation, blocked items, follow-ups. Remind the user that the instance stays vuln
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл fix-gitlab-vuln?
Use when the user asks to fix, patch or upgrade a self-managed GitLab vulnerability (e.g. 'Please fix my GitLab vulnerability'), CVE-2026-110264 or the GitLab 19.5.1 critical patch release, across Omnibus, Docker, Helm chart and IaC deployments. Read-only inventory, approval gate, post-deploy checklist, focused PRs.
Как установить скилл fix-gitlab-vuln?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fix-gitlab-vuln запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…