Headline
GHSA-v64v-fq96-c5wv: PostHog Plugin Server SQL Injection Vulnerability
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.
- GitHub Advisory Database
- GitHub Reviewed
- CVE-2025-1520
PostHog Plugin Server SQL Injection Vulnerability
High severity GitHub Reviewed Published Apr 23, 2025 to the GitHub Advisory Database • Updated Apr 23, 2025
Package
npm @posthog/plugin-server (npm)
Affected versions
<= 1.10.7
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-1520
- PostHog/posthog@6e8f035
- https://www.zerodayinitiative.com/advisories/ZDI-25-099
Published to the GitHub Advisory Database
Apr 23, 2025
Last updated
Apr 23, 2025