← 취약점·업데이트

악용 확인CVSS 10.0 (Critical)취약점 권고GitLab

[악용 확인] CVE-2026-97229: GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound Vulnerability

VulnPulse 해설

GitLab CVE-2026-97229 is under attack; its sibling CVE-2026-110264 reaches back to 7.0

A flaw in how GitLab CE/EE compiles regular expressions from CI/CD settings can let an attacker with no account run code on the server. CISA put it in the KEV list on 2026-10-29 as exploited and gave US federal agencies until 11-01 to act.

목차
  1. 영향을 받는 대상
  2. 쉽게 말하면
  3. 작동 방식
  4. 공격 흐름
  5. 해야 할 일
  6. 아직 밝혀지지 않은 점
  7. 출처

영향을 받는 대상

Self-managed GitLab CE/EE. CVE-2026-97229 itself covers the 19.2, 19.3 and 19.4 lines below 19.2.8, 19.3.5 and 19.4.2. The closely related CVE-2026-110264 (CVSS 10.0), however, covers nearly every release since 7.0, so 19.1, 18.11 and older are exposed too. GitLab has already fixed GitLab.com and GitLab Dedicated. GitLab on a Ruby you installed yourself, and other Ruby apps that build regexes from outside input, also need a Ruby update. Per the Ruby team, GitLab fixed the copy of Ruby it ships in its own packages.

쉽게 말하면

Picture a clerk who sizes a box from a number on an order form, but miscounts when the number is huge and then stuffs in more than the box holds. The overflow spills onto the next shelf and overwrites it, and an instruction that should never run ends up running.

작동 방식

GitLab compiles user-written regular expressions, such as those in CI/CD settings, with Onigmo, the regex engine inside Ruby. Per the Ruby team, compiling a crafted pattern can make the size calculation for the compiled pattern wrap around (integer overflow, CWE-190) and corrupt memory. GitLab found this can be turned into code execution without logging in and scored it CVSS 10.0. Between September and October GitLab issued four CVEs for this family of bugs: CVE-2026-89078, 93577, 97229 and 110264. Only 97229 is in KEV; 110264 comes from a different Ruby bug, where internal IDs overflow in patterns with many repeats. Ruby notes that Regexp.timeout and pattern length limits do not stop these bugs.

공격 흐름

  1. The attacker gets a crafted regular expression into GitLab through CI/CD configuration, without logging in
  2. While GitLab compiles it, a size calculation wraps around and memory gets corrupted
  3. The corrupted memory is used to run the attacker's code on the GitLab server

해야 할 일

  • Self-managed admins: move to the newest patch from 2026-10-29: 19.5.3, 19.4.5, 19.3.7 or 19.2.10 (19.1.10, 19.0.11 or 18.11.14 on those lines). They are newer than the 10-21 releases that fixed CVE-2026-110264 (19.5.1, or 19.4.3 on 19.4 and 18.11.13 on 18.11), so that fix is in them too
  • Admins on 19.1, 18.11 or older: even if CVE-2026-97229 does not apply, CVE-2026-110264 does. No fix exists for lines older than 18.11, so upgrade to a supported release at 18.11.14 or later
  • Admins: check for signs of attack as well as patching. In its 19.4.2 and 19.5.1 notices GitLab published detection rules for self-managed instances, such as crashes of the Onigmo native worker
  • GitLab.com and GitLab Dedicated users: GitLab has applied the fix; nothing to do on your side
  • Admins running GitLab on their own Ruby, and developers of Ruby apps that turn outside input into regexes: upgrade Ruby to 4.0.9, 3.4.12, 3.3.13 or later. Until then, do not compile regexes from untrusted input
  • US federal agencies: act by 2026-11-01 under CISA BOD 26-04

아직 밝혀지지 않은 점

  • Who is exploiting it and how widely. Neither CISA nor GitLab has said, and CISA lists ransomware use as unknown
  • Which settings or setups the advisory's 'under certain conditions' refers to
  • Whether CVE-2026-110264, or the related CVE-2026-89078 and 93577, are being exploited. As of 2026-10-30 none of them is in KEV

출처

원문 기사와 공개 정보를 바탕으로 VulnPulse가 자체적으로 정리한 해설입니다. 정확한 내용은 출처를 확인하세요. 업데이트:

원문 공지

GitLab Community Edition and Enterprise Edition GitLab Community Edition and Enterprise Edition contain a integer overflow or wraparound vulnerability that could allow an unauthenticated user to execute arbitrary code on the GitLab server via a specially crafted regular expression in a CI/CD configuration, due to insufficient regular expression validation.

CISA Known Exploited Vulnerabilities에서 읽기

2026. 10. 30. 오전 04:45, CISA Known Exploited Vulnerabilities에서 "[악용 확인] CVE-2026-97229: GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound Vulnerability"을(를) 게시했습니다 (유형: 취약점 권고). CISA KEV에 등재되어 있습니다(악용 확인). 벤더 / NVD 평가는 CVSS 10.0 (Critical)입니다. 관련 기술: GitLab. CVE: CVE-2026-97229.