Skip to main content
Vulnerability Database/CVE-2025-12743

CVE-2025-12743: Looker SQL Injection Vulnerability

CVE-2025-12743 is a SQL injection vulnerability in Looker that enables developers to manipulate queries against the internal MySQL database and extract sensitive data. This article covers technical details, affected versions, and patches.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-12743 Overview

CVE-2025-12743 is a SQL injection vulnerability [CWE-89] in Looker's endpoint for generating new projects from database connections. The endpoint accepts looker as a connection name, which is a reserved internal identifier for Looker's internal MySQL database. The schemas parameter is not properly sanitized, allowing attackers to manipulate the SELECT queries executed against that internal database. Authenticated users with developer permissions can extract data from Looker's internal MySQL store. Both Looker-hosted and Self-hosted deployments were affected. Google has already remediated Looker-hosted instances, while Self-hosted operators must upgrade to a fixed release.

Critical Impact

An authenticated developer can inject SQL into Looker's internal MySQL database and exfiltrate application data, including sensitive configuration records.

Affected Products

  • Looker (Google Cloud) hosted instances — remediated by Google, no user action required
  • Looker Self-hosted, all supported versions prior to the fixed releases
  • Fixed versions: 24.12.106, 24.18.198+, 25.0.75, 25.6.63+, 25.8.45+, 25.10.33+, 25.12.1+, 25.14+

Discovery Timeline

  • 2025-11-19 - CVE-2025-12743 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-12743

Vulnerability Analysis

Looker exposes an endpoint that generates new LookML projects from an existing database connection. The endpoint accepts a connection name and a schemas parameter that scopes the introspection query. Under normal use, developers point this endpoint at customer-defined connections. The vulnerability arises because the endpoint does not reject the reserved connection identifier looker, which maps to Looker's own internal MySQL database used for application metadata.

Once the request targets the internal database, the schemas parameter flows into a dynamically constructed SELECT query without proper parameterization. An attacker with developer permissions can inject arbitrary SQL clauses to read internal tables. The impact is limited to confidentiality of the internal MySQL database; integrity and availability are not directly affected according to the published vector.

Root Cause

Two defects combine to produce the flaw. First, the project-generation endpoint fails to enforce that looker is a reserved connection name and blocks user-supplied requests. Second, the schemas parameter is concatenated into a SQL statement rather than being bound as a parameter or validated against an allowlist of schema names, producing a classic SQL injection sink [CWE-89].

Attack Vector

Exploitation requires an authenticated Looker account with developer permissions. The attacker issues a request to the new-project-from-connection endpoint, specifying looker as the connection name and a crafted schemas value containing injected SQL. The manipulated query executes against Looker's internal MySQL database, and the resulting data is reflected back through the API response. See the Tenable Security Research TRA-2025-43 advisory for additional technical context.

Detection Methods for CVE-2025-12743

Indicators of Compromise

  • API requests to the project-generation endpoint where the connection name equals looker
  • schemas parameter values containing SQL metacharacters such as ', --, UNION, SELECT, or INFORMATION_SCHEMA
  • Unexpected read activity against Looker's internal MySQL database originating from the application service account
  • Developer accounts issuing project-creation calls outside of normal working hours or from unusual source IPs

Detection Strategies

  • Enable and centralize Looker application and API audit logs, then alert on any invocation targeting the reserved looker connection
  • Apply regular-expression detections on the schemas parameter for SQL injection payload patterns
  • Correlate developer-role API activity with internal MySQL query volume to spot enumeration behavior

Monitoring Recommendations

  • Ingest Looker audit logs into a SIEM or data lake and build detections for the reserved connection identifier
  • Monitor privileged role assignments and revoke unused developer permissions to shrink the exploitable population
  • Review outbound data transfer volumes from Looker hosts for anomalies consistent with bulk extraction

How to Mitigate CVE-2025-12743

Immediate Actions Required

  • Inventory all Self-hosted Looker instances and identify the current release train
  • Upgrade to the corresponding patched version listed in the Google advisory before re-exposing the application
  • Audit which accounts hold developer permissions and remove access that is not operationally required
  • Review audit logs for prior requests to the project-generation endpoint that reference the looker connection

Patch Information

Google has patched all supported Self-hosted release trains. Fixed builds are 24.12.106, 24.18.198+, 25.0.75, 25.6.63+, 25.8.45+, 25.10.33+, 25.12.1+, and 25.14+, available from the Looker download portal. Looker-hosted (Google Cloud) instances were remediated by Google and require no customer action. Refer to Google Cloud Support Bulletin GCP-2025-052 for authoritative guidance.

Workarounds

  • No vendor-supplied workaround replaces the patch; upgrading is the supported remediation
  • Temporarily restrict developer permissions to a minimal, trusted set of users until the upgrade is complete
  • Place Looker administrative endpoints behind network controls that limit access to known administrator source ranges
bash
# Verify the installed Looker version on a Self-hosted node
java -jar looker.jar --version

# Example: confirm the running release matches a fixed build such as 25.14+

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.