Threat reportVulnerabilityTL-2026-0915
CVE-2026-2031 "StubZero": Remote Code Execution in Google Cloud Application Integration via Exposed Proto Descriptors, GenericStubbyTypedTaskV2 and ACL Bypass
StubZero (CVE-2026-2031) is a critical access-control flaw chain in Google Cloud Application Integration that allowed a researcher to achieve remote code execution inside Google's production environment as a privileged service identity. Exposed internal debugging endpoints leaked arbitrary google3 protobuf descriptors and a 'default' clientId, the GenericStubbyTypedTaskV2 task type enabled arbitrary internal Stubby RPC calls, and an ACL endpoint bypassed the two-person workflow-publishing approval.
Key facts
| Identifiers | TL-2026-0915, CVE-2026-2031 |
|---|---|
| Also known as | StubZero |
| Severity | CRITICAL |
| CVSS | 10 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H) |
| EPSS | CVE-2026-2031: 0.5% (39.6th percentile) |
| Affected products | Google Google Cloud Application Integration; Google cloudcrmipfrontend-pa internal CRM integration frontend |
| Weaknesses (CWE) | CWE-284, CWE-639, CWE-862, CWE-200, CWE-863 |
| MITRE ATT&CK techniques | T1059 Command and Scripting Interpreter, T1078 Valid Accounts, T1098 Account Manipulation, T1119 Automated Collection, T1190 Exploit Public-Facing Application, T1210 Exploitation of Remote Services, T1213 Data from Information Repositories, T1526 Cloud Service Discovery, T1530 Data from Cloud Storage, T1548 Abuse Elevation Control Mechanism, T1552 Unsecured Credentials, T1580 Cloud Infrastructure Discovery and 2 more in the attack flow |
| Motivation | UNKNOWN |
| Target sectors | technology, cloud-service-providers, saas |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 7 cited sources |
Detection coverage
As of 2026-06-23, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-0915 across Splunk SPL, Microsoft KQL and Sigma, covering 20 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: StubZero Internal Proto-Descriptor & Quota-Queue Disclosure (SAPISIDHASH) — Exploitation
Detects exploitation of the CVE-2026-2031 first-chain information-disclosure surface: first-party SAPISIDHASH-authenticated requests to the internal CRM integration frontend debugging endpoints getProtoDefinition ('req2proto as a Service') and listQuotaQueue, especially when carrying the X-Goog-Encode-Response-If-Executable: base64 header and ?alt=proto to coerce protobuf/executable responses. These endpoints leaked arbitrary google3 protobuf descriptors and the 'default' clientId. Matches HTTP/proxy/forward-proxy telemetry where requests originate from the console.cloud.google.com origin.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1190, T1213, T1552, T1590
- Data sources: forward_proxy, proxy, web_gateway
- Severity: critical
- Confidence: high
Splunk SPL
index=proxy sourcetype="forward_proxy" (uri_path="*integrationPlatform:getProtoDefinition*" OR uri_path="*integrationPlatform:listQuotaQueue*" OR uri_query="*getProtoDefinition*" OR uri_query="*listQuotaQueue*")
| eval has_exec_hdr=if(match(_raw, "(?i)X-Goog-Encode-Response-If-Executable\s*:\s*base64"), 1, 0)
| eval has_sapisidhash=if(match(_raw, "(?i)Authorization\s*:\s*SAPISIDHASH"), 1, 0)
| eval is_proto=if(match(uri_query, "(?i)alt=proto"), 1, 0)
| eval is_console_origin=if(match(_raw, "(?i)Origin\s*:\s*https://console\.cloud\.google\.com"), 1, 0)
| where has_sapisidhash=1 OR has_exec_hdr=1 OR is_proto=1
| stats count, values(uri_path) as endpoints, sum(has_exec_hdr) as exec_hdr_hits, sum(is_proto) as proto_hits, sum(has_sapisidhash) as sapisidhash_hits, dc(uri_query) as distinct_queries by src_ip, user, http_user_agent
| where exec_hdr_hits>0 OR (sapisidhash_hits>0 AND proto_hits>0) OR distinct_queries>20
| sort - countMicrosoft KQL
let window = 24h;
let disclosureEndpoints = dynamic(["integrationPlatform:getProtoDefinition", "integrationPlatform:listQuotaQueue"]);
ProxyLogs
| where TimeGenerated > ago(window)
| where Url has_any (disclosureEndpoints)
| extend HasExecHeader = RequestHeaders has "X-Goog-Encode-Response-If-Executable"
| extend HasSapisidHash = RequestHeaders has "SAPISIDHASH"
| extend IsProto = Url has "alt=proto"
| where HasSapisidHash or HasExecHeader or IsProto
| summarize Count = count(), Endpoints = make_set(Url, 20), ExecHits = countif(HasExecHeader), ProtoHits = countif(IsProto), DistinctUrls = dcount(Url) by SourceIp, ClientUser = UserName
| where ExecHits > 0 or ProtoHits > 0 or DistinctUrls > 20
| order by Count descSigma
title: StubZero Internal Proto/Quota Disclosure Endpoint Access
id: 5d3f1a20-9b41-4c2e-bf01-0915aa000001
status: experimental
description: Detects access to the CVE-2026-2031 (StubZero) internal debugging endpoints getProtoDefinition and listQuotaQueue, including use of the X-Goog-Encode-Response-If-Executable header and SAPISIDHASH first-party auth to coerce protobuf descriptor and quota-queue disclosure.
references:
- https://brutecat.com/articles/google-cloud-rce/
- https://attack.mitre.org/techniques/T1213/
author: Threadlinqs Team
date: 2026/06/23
tags:
- attack.reconnaissance
- attack.collection
- attack.t1213
- attack.t1190
- attack.t1552
- cve.2026.2031
logsource:
category: proxy
detection:
selection_endpoint:
cs-uri-stem|contains:
- 'integrationPlatform:getProtoDefinition'
- 'integrationPlatform:listQuotaQueue'
selection_signal:
- cs-header|contains: 'X-Goog-Encode-Response-If-Executable'
- cs-header|contains: 'SAPISIDHASH'
- cs-uri-query|contains: 'alt=proto'
condition: selection_endpoint and selection_signal
falsepositives:
- Google-internal automated tooling or sanctioned red-team validation hitting the same endpoints
level: highKnown false positives:
- Google-internal monitoring or sanctioned security testing exercising the same debugging endpoints
- Legitimate first-party console traffic that incidentally references the endpoint names in unrelated query strings
Tuning notes: Allowlist known Google-internal monitoring source IPs/service accounts. Tighten by requiring the X-Goog-Encode-Response-If-Executable header co-occurrence with alt=proto to cut benign references. Adjust distinct_queries threshold (default 20) to local console traffic baselines.
- StubZero Debugging-Endpoint Cloud Service Discovery (req2proto) — Exploitation · unlock with TL Creds
- StubZero Draft Workflow via Leaked 'default' clientId + Out-of-Band ACL Grant — Post-Exploitation · unlock with TL Creds
- StubZero Cross-Tenant ListTestCases Enumeration & Binary-Search UUID Reconstruction — C2 / Lateral Movement · unlock with TL Creds
- StubZero SAPISIDHASH Info-Disclosure Endpoint Access (Sigma Primary) — Exploitation · unlock with TL Creds
- StubZero Out-of-Band setAcl (role 105) Before Publish (Sigma Primary) — Post-Exploitation · unlock with TL Creds
- StubZero Cross-Tenant ListTestCases Enumeration (Sigma Primary) — C2 / Lateral Movement · unlock with TL Creds
- StubZero ACL Bypass (setAcl role 105) Immediately Preceding Workflow Publish — Post-Exploitation · unlock with TL Creds
- StubZero GenericStubbyTypedTaskV2 Internal Stubby RPC Invocation — C2 / Lateral Movement · unlock with TL Creds
Indicators of compromise
As of 2026-06-23, Threadlinqs Intelligence tracks 20 indicators of compromise for TL-2026-0915.
Sample indicators (3 of 20)
- Domain:
cloudcrmipfrontend-pa[.]googleapis[.]com - Domain:
cloudcrmipfrontend-pa[.]clients6[.]google[.]com - Domain:
us-central1-integrations[.]clients6[.]google[.]com
Defanged, TLP:CLEAR. Full set of 20 indicators: unlock with TL Creds.
Technical analysis
Google has patched the issue; a detailed proof-of-concept was published by BruteCat.
StubZero is a multi-stage access-control and remote-code-execution chain in Google Cloud Application Integration disclosed by security researcher Arvin Shivram (BruteCat) and tracked as CVE-2026-2031 (CVSS 10.0). The bug bounty payouts totalled $148,337 across two related chains. Google has fully remediated the issues; this record documents the disclosed mechanics for defensive and detection-engineering purposes.
First chain (production RCE). Automated fuzzing surfaced the internal-facing host cloudcrmipfrontend-pa.googleapis.com responding HTTP 200 to debugging endpoints. The endpoint /v1/integrationPlatform:getProtoDefinition behaved as 'req2proto as a Service' — returning the protobuf definition of any message or service in google3 (Google's internal monorepo), including unrelated stacks such as YouTube InnerTube and Google's internal CRM. Requests were authenticated with Google first-party SAPISID cookies plus a calculated Authorization: SAPISIDHASH header, scoped to origin https://console.cloud.google.com. A second endpoint, /v1/integrationPlatform:listQuotaQueue, queried with a filter such as client_id>"123", ?alt=proto and the header X-Goog-Encode-Response-If-Executable: base64, leaked an internal workflow execution queue (Spanner-to-Salesforce sync data, account IDs, due-diligence status) and crucially revealed client_id 'default'. Using that clientId, /v1/integrationPlatform:createDraftWorkflow created a draft workflow, and the discovery document exposed GenericStubbyTypedTaskV2 — a generic wrapper around Google's internal Stubby RPC framework (referenced in Application Integration JavaScript on gstatic.com with the stubby_48px_blue.svg icon). The task accepts serverSpec, serviceName and serviceMethod parameters, enabling arbitrary Stubby RPC calls from the production environment using the integration platform's privileged service identity. To publish, the two-person approval / single-publisher restriction was bypassed via /v1/integrationPlatform/auth:setAcl, adding attacker-controlled obfuscated Gaia IDs with role 105, followed by toggleRequestToPublishWorkflow and publishWorkflow. A demonstration RPC to serverSpec gslb:alkali-base, serviceName ServerStatus, serviceMethod GetServices returned an rpc.ServiceList exposing internal services such as AlkaliBaseAccountService. The createDraftWorkflow fix propagated across load-balanced backends roughly one hour after the PoC completed, and collaborator 'shrugged' found Google's initial mitigation was only partially deployed, allowing repeated requests to hit still-vulnerable backends during the race window.
Second chain (cross-tenant IDOR, ~3 months later). The public Application Integration API exposed an IDOR: requesting GET /v1/projects/<your-project>/locations/us-central1/integrations/x/versions/<victim-uuid> returned victim resources because authorization only validated the caller's project ID, not ownership of the target UUID. Because UUIDs span ~10^36, direct brute force was infeasible. The TestCases service was abused instead: POST /$rpc/google.cloud.integrations.v1alpha.TestCases/ListTestCases with the workflow_id filter (proto field 2) omitted returned test cases across every GCP project, exposing creator emails (many @google.com). Using filter operators (>, <=) on the workflow_id field, a binary search (~128 requests) reconstructed full victim integration UUIDs, enabling theft of complete victim integration definitions (triggers, GenericRestV2Task configs, parameter bindings, lastModifierEmail). Creating integrations with internal tasks such as PythonTask succeeded, and test-case execution stack traces revealed the backend ExecuteStubbyCallRequest code path consuming serverSpec, serviceName and serviceMethod directly — confirming the same Stubby execution surface.
Impact context: in Google's Borg/production model, Stubby RPC is governed by per-method allowlists in RpcSecurityPolicy, with frontends calling downstream services under their own production service identity while carrying end-user context via security tickets. Compromising the integration frontend's Stubby access therefore dramatically expanded reachable internal attack surface — RCE here means arbitrary internal RPC calls as a production identity rather than a traditional OS shell.
MITRE ATT&CK techniques by tactic:
Execution
T1059 Command and Scripting Interpreter
Defense Evasion
Persistence
Collection
T1119 Automated Collection; T1530 Data from Cloud Storage
Initial Access
T1190 Exploit Public-Facing Application
Lateral Movement
T1210 Exploitation of Remote Services
collection
T1213 Data from Information Repositories
Discovery
T1526 Cloud Service Discovery; T1580 Cloud Infrastructure Discovery
Privilege Escalation
T1548 Abuse Elevation Control Mechanism
Credential Access
Reconnaissance
T1590 Gather Victim Network Information; T1595 Active Scanning
Remediation
Patches
- Google internal: createDraftWorkflow / internal endpoint access restricted, IDOR fixed, Stubby RPC controls strengthened (no public KB; remediated in Google production).
Immediate actions
- Apply Google's server-side fixes (no customer action required; the vulnerable internal endpoints and IDOR are patched by Google).
- Restrict access to internal/debugging RPC endpoints (e.g. getProtoDefinition, listQuotaQueue) so protobuf descriptors and internal queues are never exposed to first-party console origins.
- Enforce ownership/object-level authorization on resource-by-UUID lookups so project-scoped auth cannot read cross-tenant integration versions.
Workarounds
- None required for customers — the vulnerability resided in Google-operated production services, not in deployable customer software.
Longer-term hardening
- Validate that separation-of-duties / two-person publishing approvals cannot be circumvented by directly mutating ACLs (setAcl) outside the approval flow.
- Remove or strongly gate generic RPC-wrapper task types (GenericStubbyTypedTaskV2) so workflow tasks cannot invoke arbitrary internal services as the platform's service identity.
- Ensure security mitigations propagate atomically across all load-balanced backends to eliminate partial-patch race windows.
- Audit list/test endpoints (ListTestCases) to require mandatory tenant-scoping filters and reject requests that omit the workflow/project filter field.
Affected and fixed versions
- Google — Google Cloud Application Integration
Vulnerable versions: Production service (pre-2026 remediation)
Fixed in: Server-side remediation deployed by Google (2026) - Google — cloudcrmipfrontend-pa internal CRM integration frontend
Vulnerable versions: Production service (pre-fix)
Fixed in: Internal/debugging endpoint access restricted (2026)
Timeline
- Automated fuzzing detects [domain withheld] responding HTTP 200 to internal debugging endpoints; getProtoDefinition proto-descriptor leak identified.
- Google VRP panel awards $60,000 for compromise of the Google Cloud production environment (first RCE chain via GenericStubbyTypedTaskV2 / Stubby RPC).
- Fuzzer surfaces IDORs in the public Application Integration API; initial cross-tenant IDOR report filed.
- Report upgraded to P0/S0 after RCE escalation (TestCases binary-search UUID reconstruction + internal task execution) is explained.
- Google VRP panel awards $75,000 for the second production-compromise chain.
- Additional single-service privilege-escalation vulnerability identified.
- Supplemental $13,337 award granted; chain bounty total reaches $148,337.
- BruteCat publishes the 'StubZero: $148,337 RCE in Google Cloud Production' writeup; covered by Cyber Security News as CVE-2026-2031 (Google has patched).
Sources cited
- Brutecat Security (research index) brutecat.com · Research · 2026-06-23
- StubZero: $148,337 RCE in Google Cloud Production brutecat.com · Proof of concept · 2026-06-23
- Episode 177: 2x Google RCE with VRP Legend Brutecat criticalthinkingpodcast.io · Blog · 2026-05-01
- HackerNotes Ep. 177 — Double Google RCE with VRP Legend Brutecat blog.criticalthinkingpodcast.io · Blog · 2026-05-01
- Seclog #179 — Google Cloud RCE Earns Big Bounty rosecurify.com · Blog · 2026-05-25
- Intigriti Bug Bytes #236 (May 2026) intigriti.com · Blog · 2026-05-31
- Google Cloud Production RCE Vulnerability (CVE-2026-2031) cybersecuritynews.com · News · 2026-06-23
Previous and next in vulnerability
AI-drafted from 7 cited sources; published ; last updated —.