CVE-2025-1520 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-1520 |
|---|---|
| Base Severity / Score | HIGH (8 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Weakness Classification | CWE-89 |
| Archive Categories | HIGH Advisories · 2025 Index |
Operational Mitigation Guidance
Prioritize remediation in the next maintenance cycle. Validate affected dependency versions in SBOM manifests and review inbound access controls. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/PostHog/posthog/commit/6e8f035f9acd339c5ba87ba6ea40fc1ab3053d42
- https://www.zerodayinitiative.com/advisories/ZDI-25-099/