CVE-2025-12740 Remote Command Execution in Looker via IBM DB2 JDBC drive
A Looker developer can execute arbitrary commands via manipulated LookML and IBM DB2 JDBC parameters, requiring an upgrade for self-hosted instances.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-12740?
CVE-2025-12740 is a high-severity command injection vulnerability in Google Cloud Looker, published on 24 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A Looker user with a Developer role could create a database connection using IBM DB2 driver and, by manipulating LookML, cause Looker to execute a malicious command, due to inadequate filtering of the driver's parameters.
Looker-hosted and Self-hosted were found to be vulnerable. This issue has already been mitigated for Looker-hosted instances. No user action is required for these.
Self-hosted instances must be upgraded as soon as possible. This vulnerability has been patched in all supported versions of Self-hosted. The versions below have all been updated to protect from this vulnerability. You can download these versions at the Looker download page https://download.looker.com/ : * 25.0.93+ * 25.6.84+
* 25.12.42+ * 25.14.50+ * 25.16.44+
Weakness: CWE-20
Which versions are affected by CVE-2025-12740?
How do I fix CVE-2025-12740?
No fix has been published for CVE-2025-12740 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-12740 being exploited?
There is no known exploitation of CVE-2025-12740 in the wild and no public exploit code.
Sources
Also known as GHSA-6543-fhjm-g9h2.