CVE-2025-1520
published high CVSS 3.0 · 7.1PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| PostHog | — | PostHogb8817c14065c23159dcf52849f0bdcd12516c43e, clickhouse 23.12.6.19-alpine · Other versions: unknown | Affected | Not stated | zdi |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- zdi · cna
- Vector string
- CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PostHog | PostHog | b8817c14065c23159dcf52849f0bdcd12516c43e, clickhouse 23.12.6.19-alpine (affected)Default: unknown | zdi · cna |
Weaknesses
1- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
2- vendor-provided URL https://github.com/PostHog/posthog/commit/6e8f035f9acd339c5ba87ba6ea40fc1ab3053d42
- ZDI-25-099 https://www.zerodayinitiative.com/advisories/ZDI-25-099/
Provider assertions
2zdi · cna
PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c05e71ce8541545ee3e8fe237b24b203c046d2f7ed54fe36f88a40512f23ed91
- Ingested
- 23 Sep 2026, 08:38:35 UTC
- Source record
- Official CVE record