Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

Google Cloud Platform (GCP) RCE through Git Config Hooks Override and Path Traversal Abuse in Looker

High

Synopsis

Tenable Research has identified and responsibly disclosed a critical Remote Code Execution (RCE) vulnerability in Looker. This vulnerability allowed a malicious actor with developer-level access to the platform to execute arbitrary code on the underlying Looker instance.

This complex attack chained together multiple flaws to achieve RCE. The primary vulnerability stemmed from improper handling of remote dependencies in LookML project manifests (manifest.lkml).

Path Traversal: An attacker could inject a path traversal sequence (../) into the remote_dependency name, which was used to set the hooksPath in the Looker project's Git configuration file (.git/config). This allowed the attacker to point the Git hooks directory to an arbitrary location on the file system.

Arbitrary Directory Creation and Override: The remote_dependency configuration also allowed an attacker to create arbitrary directories. By manipulating the ref parameter, an attacker could create a custom git_hooks directory and override the project's .git/config file.

Race Condition: The attacker then exploited a race condition between a legitimate Git commit operation and the malicious file write. This allowed the attacker to trigger a Git hook from their controlled location before the system could overwrite the malicious configuration, leading to the execution of the malicious code.

By chaining these flaws, an attacker could force Looker to execute commands contained within a Git hook file. This granted them full control over the Looker instance, which could lead to data exfiltration, service disruption, and further compromise of the cloud environment
 

Solution

Google has fixed the issue.

Disclosure Timeline

June 27, 2025 - Tenable reported the finding to Google and Google acknowledges
June 28, 2025 - Tenable updates Google with additional details
July 13, 2025 - Tenable asks Google for updates
July 22, 2025 - Google confirms the bug has been reported to the product team
July 28, 2025 - Google provides an update regarding the fix
July 31, 2025 - Tenable agrees to delay the disclosure date while Google is actively working
August 11, 2025 - Google updates that the fix is code complete and is currently being rolled out to production. This can take up to a month for Looker
August 12, 2025 - Google awards a bounty
August 25, 2025 - Google updates that the fix started rolling out
September 12, 2025 - Google requests the TRA to be published on 10/01/2025
September 15, 2025 - Tenable agrees to Google's request

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]

Risk Information

Tenable Advisory ID: TRA-2025-44
Credit:
Liv Matan
Moshe Bernstein
Affected Products:
GCP Looker
Risk Factor:
High

Advisory Timeline

October 1, 2025 - Initial Release.
× Contact our sales team