{"cve":"CVE-2025-1520","nvd":{"published":"2025-04-23T17:16:52.250","modified":"2026-06-17T08:39:17.797","status":"Analyzed","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.\n\nThe 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.0},"cwes":["CWE-89"],"references":["https://github.com/PostHog/posthog/commit/6e8f035f9acd339c5ba87ba6ea40fc1ab3053d42","https://www.zerodayinitiative.com/advisories/ZDI-25-099/"],"products":["posthog:posthog"],"source":"nvd","synced_at":"2026-10-19T22:01:11.054312287+00:00"},"epss":{"cve":"CVE-2025-1520","score":0.00469,"percentile":0.4061,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-v64v-fq96-c5wv","url":"https://osv.dev/vulnerability/GHSA-v64v-fq96-c5wv","summary":"PostHog Plugin Server SQL Injection Vulnerability","modified":"2025-04-23T19:57:08.964516Z","packages":[{"ecosystem":"npm","name":"@posthog/plugin-server","purl":"pkg:npm/%40posthog/plugin-server","ranges":["<=1.10.7"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}