CVE-2025-1520CWE-89

PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability

High · published April 23, 2025

CVSS v3.0
7.1
EPSS
0%
Percentile
39.6
In the wild
Unconfirmed
What it is

PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of PostHog. Authentication is required to exploit this vulnerability.

The specific flaw exists within the implementation of the SQL parser. The issue results from the lack of proper validation of a user-supplied string before using it to construct SQL queries. An attacker can leverage this vulnerability to execute code in the context of the database account. Was ZDI-CAN-25350.

The record
Technical detail
CVSS v3.0
7.1 · HIGH
Vector
CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00469 · 39.6th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-04-23T16:45Z
EPSS history
Timeline
  • 23 APR 16:45Z
    PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability
    cvelistv5