High severityNVD Advisory· Published Apr 23, 2025· Updated Apr 23, 2025
PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability
CVE-2025-1520
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@posthog/plugin-servernpm | <= 1.10.7 | — |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/PostHog/posthog/commit/6e8f035f9acd339c5ba87ba6ea40fc1ab3053d42ghsavendor-advisoryWEB
- github.com/advisories/GHSA-v64v-fq96-c5wvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-1520ghsaADVISORY
- www.zerodayinitiative.com/advisories/ZDI-25-099/mitrex_research-advisory
- www.zerodayinitiative.com/advisories/ZDI-25-099ghsaWEB
News mentions
0No linked articles in our index yet.