CVE-2025-1520: PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability
CVE-2025-1520 is a high-severity flaw (CVSS 8.0) affecting posthog. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 querie
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.0 (High) |
| Attack vector | Adjacent network |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 59%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2025-04-23 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-1520?
posthog: upgrade to 0.3.7. Exact commands for each OS are on this page.
Is CVE-2025-1520 being exploited?
CVE-2025-1520 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-1520 affect?
CVE-2025-1520 affects posthog. Severity is high (CVSS 8.0). 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
How urgent is CVE-2025-1520?
Priority 38/100. High severity
Software pages
Related CVEs
- CVE-2025-1522 MEDIUM 6.5 UPGRADE PostHog database_schema Server-Side Request Forgery Information Disclosure Vulnerability
- CVE-2025-1521 MEDIUM 6.5 UPGRADE PostHog slack_incoming_webhook Server-Side Request Forgery Information Disclosure Vulnerability
- CVE-2024-9710 HIGH 8.3 UPGRADE PostHog database_schema Server-Side Request Forgery Information Disclosure Vulnerability