Threat reportVulnerabilityTL-2026-7004
Multiple Vulnerabilities in GitLab Products (GovCERT.HK A26-11-62) incl. PoC-Reported RCE via Git Heap Overflow CVE-2026-105437
GovCERT.HK issued a High Threat alert for 15 CVEs fixed in GitLab CE/EE 19.6.2, 19.5.9 and 19.4.11, reporting that PoC code exists for CVE-2026-105437. That CVE is a heap buffer overflow in Git's three-way merge code, which GitLab rates Critical because it could allow command execution in the Gitaly environment. First disclosed .
Key facts
| Identifiers | TL-2026-7004, CVE-2026-16744, CVE-2026-17194, CVE-2026-81336, CVE-2026-105437, CVE-2026-107633, CVE-2026-119452, CVE-2026-129975, CVE-2026-129982, CVE-2026-131867, CVE-2026-132102, CVE-2026-132156, CVE-2026-132794, CVE-2026-132822, CVE-2026-135221, CVE-2026-135636 |
|---|---|
| Also known as | GovCERT.HK A26-11-62, GitLab 19.6.2 Patch Release, Git 2.56.1 merge heap corruption |
| Severity | HIGH |
| CVSS | 7.5 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H) |
| First disclosed | |
| Exploitation status | Public proof-of-concept exploit for a linked CVE |
| EPSS | CVE-2026-132822: 0.6% (45.6th percentile); CVE-2026-135221: 0.4% (32.8th percentile); CVE-2026-119452: 0.4% (28.1th percentile) |
| Affected products | GitLab GitLab Community Edition / Enterprise Edition; Git Git (xdiff three-way merge, CVE-2026-105437) |
| Weaknesses (CWE) | CWE-122, CWE-190 |
| MITRE ATT&CK techniques | T1059 Command and Scripting Interpreter, T1078 Valid Accounts, T1190 Exploit Public-Facing Application, T1212 Exploitation for Credential Access, T1213 Data from Information Repositories, T1565 Data Manipulation |
| Motivation | UNKNOWN |
| Target sectors | technology, government administration, finance, telecoms, education |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 11 cited sources |
Detection coverage
As of 2026-11-28, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7004 across Splunk SPL, Microsoft KQL and Sigma, covering 6 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: GitLab Gitaly git merge-tree Child Process Crash — CVE-2026-105437 Exploitation Attempt
Detects a git merge-tree (or merge/rebase/cherry-pick) child process spawned by Gitaly crashing with SIGSEGV/SIGABRT or heap-corruption messages. CVE-2026-105437 is a heap buffer overflow in xdl_fill_merge_buffer (CWE-122) triggered by an oversized conflict-marker-size from a committed .gitattributes; a failed exploit attempt typically crashes the git process Gitaly spawns for the mergeability check. This mirrors GitLab's published 'Git merge-tree child process crash' detection and is the highest-fidelity exploitation signal for self-managed instances before 19.6.2 / 19.5.9 / 19.4.11.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1190, T1499
- Data sources: gitaly, gitlab_gitaly_log
- Severity: high
- Confidence: high
Splunk SPL
index=gitlab sourcetype="gitlab:gitaly" earliest=-24h ("merge-tree" OR "xdl_fill_merge_buffer" OR "git merge" OR "rebase" OR "cherry-pick") ("signal: segmentation fault" OR "signal: aborted" OR "SIGSEGV" OR "SIGABRT" OR "malloc(): corrupted" OR "corrupted size" OR "double free")
```CVE-2026-105437 heap overflow in xdl_fill_merge_buffer: crash of the git child spawned by Gitaly```
| eval repo=coalesce('grpc.request.glProjectPath', 'grpc.request.repoPath', "unknown"), grpc_method='grpc.method'
| stats count AS crashes earliest(_time) AS first_seen latest(_time) AS last_seen values(grpc_method) AS grpc_methods values(repo) AS repos BY host
| where crashes>=1
| convert ctime(first_seen) ctime(last_seen)Microsoft KQL
Syslog
| where TimeGenerated > ago(24h)
| where ProcessName in~ ("gitaly", "gitaly-git", "git") or SyslogMessage has "gitaly"
| where SyslogMessage has_any ("merge-tree", "xdl_fill_merge_buffer", "git merge", "rebase", "cherry-pick")
| where SyslogMessage has_any ("signal: segmentation fault", "signal: aborted", "SIGSEGV", "SIGABRT", "corrupted size", "double free")
| summarize Crashes = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by Computer, ProcessName
| project Computer, ProcessName, Crashes, FirstSeen, LastSeenSigma
title: GitLab Gitaly git merge-tree Child Process Crash (CVE-2026-105437)
id: 3b0c1a52-7d4e-4f8a-9a61-0c5e2d7a1b01
status: experimental
description: Detects a git merge-tree/merge/rebase/cherry-pick child process spawned by Gitaly crashing (SIGSEGV/SIGABRT/heap corruption), the expected symptom of an attempt to exploit the xdl_fill_merge_buffer integer wrap in CVE-2026-105437.
references:
- https://www.openwall.com/lists/oss-security/2026/11/11/10
- https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-5-4-released/
- https://www.govcert.gov.hk/en/alerts_detail.php?id=2217
author: Threadlinqs Team
date: 2026/11/28
tags:
- attack.initial-access
- attack.t1190
- attack.impact
- attack.t1499
- cve.2026.105437
logsource:
product: gitlab
service: gitaly
detection:
keywords_cmd:
- 'merge-tree'
- 'xdl_fill_merge_buffer'
keywords_crash:
- 'signal: segmentation fault'
- 'signal: aborted'
- 'SIGSEGV'
- 'SIGABRT'
- 'corrupted size'
- 'double free'
condition: keywords_cmd and keywords_crash
falsepositives:
- Unrelated git bugs or out-of-memory kills on very large merges
- Disk or memory pressure on the Gitaly node
level: high
Known false positives:
- Unrelated git bugs or OOM kills during very large legitimate merges
- Gitaly node under memory or disk pressure
- Security testing of patched instances with the public PoC
Tuning notes: Assumes Gitaly JSON logs are indexed as index=gitlab sourcetype=gitlab:gitaly (adjust to your naming). Correlate hits with the pushing user and repository, then inspect the repo's default-branch .gitattributes for huge conflict-marker-size values. Suppress hosts only after confirming they run 19.6.2 / 19.5.9 / 19.4.11 or have '* conflict-marker-size=7' in info/attributes.
- Git Invoked With Attribute-Source Override or Oversized Marker Size — CVE-2026-105437 Trigger Preparation · unlock with TL Creds
- Repository [indicator] Modified by Non-Gitaly Process — conflict-marker-size Mitigation Tamper or Injection · unlock with TL Creds
- Outbound Connection From Shell or Download Tool Spawned by Git/Gitaly — Reverse Shell or Payload Staging · unlock with TL Creds
- Kernel Segfault in git Process on GitLab Host — Memory Corruption Exploitation Indicator · unlock with TL Creds
- GitLab API Token Created for Another User via Admin Endpoint — Valid Account Abuse and Privilege Escalation · unlock with TL Creds
- Bulk Repository Download by a Single GitLab Account — Source Code Collection via Valid Accounts · unlock with TL Creds
- Shell or Download Tool Spawned by Git/Gitaly — Post-Exploitation Command Execution (CVE-2026-105437) · unlock with TL Creds
- GitLab SSRF Probe — Import, Cluster Agent or MCP OAuth URL Targeting Internal or Metadata Addresses · unlock with TL Creds
Indicators of compromise
As of 2026-11-28, Threadlinqs Intelligence tracks 6 indicators of compromise for TL-2026-7004.
Technical analysis
GitLab released patch release 19.6.2 / 19.5.9 / 19.4.11 (plus 19.3.10, 19.2.11, 19.1.11, 19.0.12, 18.11.15) on 2026-11-25. GovCERT.HK (A26-11-62, 2026-11-27) and HKCERT (2026-11-26) amplified it. The GovCERT.HK alert lists 15 CVEs and says successful exploitation could lead to remote code execution, denial of service, elevation of privilege, information disclosure or tampering. It states that reports indicate PoC exploit code is available for the RCE CVE-2026-105437, but it names no PoC source. During this research no public PoC repository was located. A HackerOne report (#4044249) is referenced by the CVE record, and its contents were not verified. No source states in-the-wild exploitation, and no actor attribution or network IOCs are published.
CVE-2026-105437 is an upstream Git bug ("Heap corruption during large merges", CWE-122), fixed in Git 2.56.1 and backports 2.55.1, 2.54.1, 2.53.1, 2.52.1, 2.51.3 and 2.50.2 (released 2026-11-10). In libxdiff's three-way merge code (xdl_fill_merge_buffer), the merge output size is accumulated in a 32-bit signed int. The conflict-marker-size attribute, which can be supplied by a committed .gitattributes file, accepts any positive int and is added several times per conflict. A file with many conflicts and a huge marker size can therefore wrap the total to a small positive value. malloc() then succeeds with an undersized buffer, and writes run past the end and before the start of it. A negative total only causes a spurious allocation failure and is not exploitable. Any textual three-way merge can trigger the bug: git merge, rebase, cherry-pick and merge-tree. The oss-security post names git merge-tree as the likely forge target. When a server reads attributes from trees (attr.tree or --attr-source), any user who can push a branch and request a merge can trigger it. The upstream advisory says GitLab could be escalated to remote code execution via the Git process Gitaly spawns for mergeability checks. This is described as a possibility, not an observed exploit. GitLab rates the issue Critical and lists affected GitLab versions as 16.2 before 19.3.8, 19.4 before 19.4.6, and 19.5 before 19.5.4. It was reported via HackerOne by 'taise'. Mend lists CVSS v3 7.5 (AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H) and CVSS v4 7.7 (the vector is reconstructed from the listed components), while GitLab publishes no score on its page.
The other GitLab fixes in the 19.6.2 release are Medium or Low severity: dependency proxy authentication information exposure (CVE-2026-119452, 6.7), on-call rotation API DoS (CVE-2026-132156), Sentry client resource exhaustion DoS (CVE-2026-132822), Service Desk quick-action redaction (CVE-2026-81336), Work Item REST API CI job token scope exposure (CVE-2026-131867), SSRF in the MCP server OAuth token endpoint (CVE-2026-135221), weak hash in the merge request approval reset mechanism (CVE-2026-17194), ReDoS in dependency proxy route matching (CVE-2026-132102), SSRF in the cluster agent URL validator (CVE-2026-16744), incorrect authorization in merge request approval policy (CVE-2026-107633), work items API (CVE-2026-132794) and batch suggestion apply API (CVE-2026-129982), and SSRF in repository import remote Git endpoint validation (CVE-2026-135636, Low). CVE-2026-129975 is a GPGME double free fixed by patching the bundled GPGME, updating the gpgme gem to 2.0.27 and validating OpenPGP input. The release also updates Ruby (regexp/string advisory) and NGINX 1.31.9. GitLab.com is already patched and Dedicated needs no action. Self-managed Linux packages and container images ship the patched Git. Self-compiled installs must update Gitaly and rebuild the Git referenced by git.bin_path. The upstream workaround is to add '* conflict-marker-size=7' to each repository's info/attributes or to disable server-side mergeability checks for untrusted repositories. GitLab published a detection, 'Git merge-tree child process crash', in the gitlab-security-oss/tldr repository. Eleven of the thirteen CVSS-scored table entries require at least low privileges (PR:L), so exposure is highest on self-managed instances that allow user registration or hold untrusted repositories. Per-CVE detail is released 90 days after the patch.
MITRE ATT&CK techniques by tactic:
Execution
T1059 Command and Scripting Interpreter
Initial Access
T1078 Valid Accounts; T1190 Exploit Public-Facing Application
Credential Access
T1212 Exploitation for Credential Access
Collection
T1213 Data from Information Repositories
Impact
Remediation
Patches
- GitLab Patch Release 19.6.2, 19.5.9, 19.4.11, 19.3.10, 19.2.11, 19.1.11, 19.0.12, 18.11.15 (2026-11-25)
- GitLab Critical Patch Release 19.5.4, 19.4.6, 19.3.8 (2026-11-10) for CVE-2026-105437
- Git 2.56.1 (or 2.55.1, 2.54.1, 2.53.1, 2.52.1, 2.51.3, 2.50.2) for self-compiled or distribution Git
- gpgme gem 2.0.27 and NGINX 1.31.9 bundled in the Linux package and container images
Immediate actions
- Upgrade GitLab CE/EE to 19.6.2, 19.5.9 or 19.4.11 (or 19.3.10, 19.2.11, 19.1.11, 19.0.12, 18.11.15 for older branches) immediately
- Prioritize self-managed instances that allow user registration or host untrusted repositories, since CVE-2026-105437 is triggered by a pushed branch plus a merge request
- Hunt for Gitaly git merge-tree child process crashes using GitLab's published 'Git merge-tree child process crash' detection (gitlab-security-oss/tldr)
- Review repositories for committed .gitattributes files with abnormally large conflict-marker-size values
Workarounds
- Add '* conflict-marker-size=7' to each repository's info/attributes
- Disable server-side mergeability checks for untrusted repositories
- Avoid merging untrusted content on the server where patching is delayed
Longer-term hardening
- Restrict self-registration and external contributor access on self-managed GitLab
- Monitor Gitaly for unexpected child-process crashes and command execution
- Subscribe to GitLab security release notifications and track patch releases on a defined SLA
Affected and fixed versions
- GitLab — GitLab Community Edition / Enterprise Edition
Vulnerable versions: prior to 19.6.2; prior to 19.5.9; prior to 19.4.11; CVE-2026-105437: 16.2 before 19.3.8, 19.4 before 19.4.6, 19.5 before 19.5.4
Fixed in: 19.6.2; 19.5.9; 19.4.11; 19.3.10; 19.2.11; 19.1.11; 19.0.12; 18.11.15 - Git — Git (xdiff three-way merge, CVE-2026-105437)
Vulnerable versions: all releases before 2.56.1 / 2.55.1 / 2.54.1 / 2.53.1 / 2.52.1 / 2.51.3 / 2.50.2
Fixed in: 2.56.1; 2.55.1; 2.54.1; 2.53.1; 2.52.1; 2.51.3; 2.50.2
Timeline
- GitLab Critical Patch Release 19.5.4, 19.4.6, 19.3.8 ships the Git fix for CVE-2026-105437, rated Critical; reported via HackerOne by 'taise'
- Git 2.56.1 and backports (2.55.1, 2.54.1, 2.53.1, 2.52.1, 2.51.3, 2.50.2) released, fixing six CVEs including CVE-2026-105437 (heap corruption in three-way merge)
- oss-security announcement details the xdiff integer-wrap root cause and notes forges, including GitLab via Gitaly, are the likely target
- Ruby advisory on regexp and String vulnerabilities published; bundled Ruby later updated in GitLab backport releases
- GitLab Patch Release 19.6.2, 19.5.9, 19.4.11 fixes 13 CVE-table issues plus GPGME CVE-2026-129975; CVE-2026-105437 backported to 19.2.11, 19.1.11, 19.0.12 and 18.11.15
- HKCERT publishes a Medium Risk bulletin covering the GitLab vulnerabilities
- GovCERT.HK issues High Threat Security Alert A26-11-62, reporting PoC exploit code is available for CVE-2026-105437
Sources cited
- GovCERT.HK High Threat Security Alert (A26-11-62): Multiple Vulnerabilities in Gitlab Products govcert.gov.hk · Advisory · 2026-11-27
- HKCERT Security Bulletin: GitLab Multiple Vulnerabilities hkcert.org · Advisory · 2026-11-26
- Debian Security Tracker: CVE-2026-105437 security-tracker.debian.org · Advisory · 2026-11-10
- NVD: CVE-2026-105437 NVD (NIST) · Advisory · 2026-11-10
- GitLab Patch Release: 19.6.2, 19.5.9, 19.4.11, 19.3.10, 19.2.11, 19.1.11, 19.0.12, 18.11.15 GitLab · Vendor report · 2026-11-25
- GitLab Critical Patch Release: 19.5.4, 19.4.6, 19.3.8 GitLab · Vendor report · 2026-11-10
- oss-security: Heap buffer overflow in the three-way merge code (CVE-2026-105437) openwall.com · Research · 2026-11-11
- Mend.io Vulnerability Database: CVE-2026-105437 mend.io · Research · 2026-11-10
- HackerOne Report #4044249 (referenced by CVE record) hackerone.com · Research · 2026-11-10
- GitLab Git work item 814 (CVE-2026-105437) GitLab · Code repository · 2026-11-10
- Git security vulnerabilities announced (Git 2.56.1) github.blog · Blog · 2026-11-10
Previous and next in vulnerability
Drafted by the Threadlinqs research pipeline from 11 sources; published ; last updated —.