Synopsis
Tenable Research has identified and responsibly disclosed a critical SQL injection vulnerability in Looker Studio. The vulnerability could have allowed an attacker with only view-level access to a report to execute arbitrary SQL commands on the underlying database.
This vulnerability stems from a flaw in how Looker Studio handles report copying. When a user with "view" permissions copies a report, the new report's data sources retain the stored credentials of the original report owner. This allows the attacker to use the "Custom Query" feature to execute malicious SQL on the connected PostgreSQL database, or other similar database types that store credentials. This bypasses the intended permission model, granting an attacker the ability to insert, delete, and exfiltrate data from the database without ever having had direct access to the credentials.
Proof of Concept:
- Access a victim’s report with only a view permission.
- Copy the report by clicking on the ellipsis → Make a copy → Copy report.
- Click Resource → “Manage added data sources” and edit the Postgres SQL data source.
- You will see all of the connected tables of the DB.
- Press “Custom Query”.
- Run a malicious SQL query and press “Reconnect”.
- The malicious SQL will run behind the scenes with the stored DB credentials you don’t have access to.
Solution
Google has remediated the issue.
Disclosure Timeline
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]

