CVE-2025-1520
CVE-2025-1520 is a high-severity vulnerability in Posthog with a CVSS 3.x base score of 8.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-89.
Key facts
- Severity: High (CVSS 3.x base score 8.0)
- EPSS exploit prediction: 0% (35th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-12167
- Weakness: CWE-89
- Affected product: Posthog
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-1520?
- 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.
- How severe is CVE-2025-1520?
- CVE-2025-1520 has a CVSS 3.x base score of 8.0, rated high severity. It is exploitable over an adjacent network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-1520 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (35th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-1520?
- CVE-2025-1520 affects Posthog. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-1520?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-1520 have an EU (EUVD) identifier?
- Yes. CVE-2025-1520 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-12167.
- When was CVE-2025-1520 published?
- CVE-2025-1520 was published on 2025-04-23 and last updated on 2026-06-17.
References
- https://github.com/PostHog/posthog/commit/6e8f035f9acd339c5ba87ba6ea40fc1ab3053d42
- https://www.zerodayinitiative.com/advisories/ZDI-25-099/
Affected products (1)
- cpe:2.3:a:posthog:posthog:*:*:*:*:*:*:*:*
More vulnerabilities in Posthog
- CVE-2024-9710 — High (CVSS 8.3): PostHog database_schema Server-Side Request Forgery Information Disclosure Vulnerability. This vulnerability allows…
- CVE-2025-1522 — Medium (CVSS 6.5): PostHog database_schema Server-Side Request Forgery Information Disclosure Vulnerability. This vulnerability allows…
- CVE-2025-1521 — Medium (CVSS 6.5): PostHog slack_incoming_webhook Server-Side Request Forgery Information Disclosure Vulnerability. This vulnerability…
- CVE-2022-0645 — Medium (CVSS 6.1): Open redirect vulnerability via endpoint authorize_and_redirect/?redirect= in GitHub repository posthog/posthog prior…
- CVE-2023-46746 — Medium (CVSS 4.8): PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can…
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-54350 — Critical (CVSS 10.0): Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published Budibase…
- CVE-2026-8054 — Critical (CVSS 10.0): Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in the Publish Audit API endpoints…
- CVE-2026-42287 — Critical (CVSS 10.0): Emlog is an open source website building system. Prior to version 2.6.11, direct SQL injection in article creation and…
- CVE-2026-3325 — Critical (CVSS 10.0): SQL injection (SQLi) in MegaCMS v12.0.0, specifically in the “id_territorio” parameter of the…
- CVE-2025-10878 — Critical (CVSS 10.0): A SQL injection vulnerability exists in the login functionality of Fikir Odalari AdminPando 1.0.1 before 2026-01-26.…
- CVE-2025-57792 — Critical (CVSS 10.0): Explorance Blue versions prior to 8.14.9 contain a SQL injection vulnerability caused by insufficient validation of…