Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Posthog | Posthog | < 0.3.7 |
Related Weaknesses (CWE)
References
- https://github.com/PostHog/posthog/commit/6e8f035f9acd339c5ba87ba6ea40fc1ab3053dPatch
- https://www.zerodayinitiative.com/advisories/ZDI-25-099/Third Party Advisory
FAQ
What is CVE-2025-1520?
CVE-2025-1520 is a vulnerability with a CVSS score of 8.0 (HIGH). PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of PostHo...
How severe is CVE-2025-1520?
CVE-2025-1520 has been rated HIGH with a CVSS base score of 8.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-1520?
Check the references section above for vendor advisories and patch information. Affected products include: Posthog Posthog.