CVE-2025-1520 json
PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability
published last yr. modified 4mo ago also GHSA-v64v-fq96-c5wv , EUVD-2025-12167
- cvss
- 7.1
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2025-1520 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.1 | CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.0 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.0 | 7.1 | CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @posthog/plugin-server | <=1.10.7 |
no fix listed |
Affected products
- PostHog PostHog
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/PostHog/posthog/commit/6e8f035f9acd339c5ba87ba6ea40fc1ab3053d42
vendor-advisory, web, patch
-
zerodayinitiative.com
/advisories/ZDI-25-099/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-1520
advisory
-
github.com
/PostHog/plugin-server
package
-
zerodayinitiative.com
/advisories/ZDI-25-099
web
Sources
- CVE List CVE-2025-1520
- GitHub Advisory GHSA-v64v-fq96-c5wv
- NVD CVE-2025-1520
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.