CVE-2025-1520
HIGH 8.0CVSS 3.1PostHog 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.
- Published
- 23 Apr 2025
- Last modified
- 17 Jun 2026
- Assigned by
- zdi-disclosures@trendmicro.com
- NVD status
- Analyzed
- Weakness
- CWE-89
- Also known as
- GHSA-v64v-fq96-c5wv
- Sources
- NVDJSONOSV GHSA-v64v-fq96-c5wvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | zdi-disclosures@trendmicro.com (Secondary) | CVSS 3.0 | HIGH 7.1 | CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.1 | CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | posthog | posthogcpe:2.3:a:posthog:posthog:*:*:*:*:*:*:*:* |
< 0.3.7 | 0.3.7 |
| OSV | npm | @posthog/plugin-server | <= 1.10.7 |
References
- https://github.com/PostHog/posthog/commit/6e8f035f9acd339c5ba87ba6ea40fc1ab3053d42 · Patch, WEB
- https://www.zerodayinitiative.com/advisories/ZDI-25-099/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-1520 · ADVISORY
- https://github.com/PostHog/plugin-server · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 23 Apr 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Apr 2025)