SQL injection in PostHog
Key facts
- Attack vector
- Adjacent network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-89.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| PostHog | PostHog | b8817c14065c23159dcf52849f0bdcd12516c43e, clickhouse 23.12.6.19-alpine | — | No fix listed | CNA |
| — | @posthog/plugin-server (npm) | up to 1.10.7 | — | No fix listed | GHSA-v64v-fq96-c5wv |
- PostHog VendorPostHog Affected b8817c14065c23159dcf52849f0bdcd12516c43e, clickhouse 23.12.6.19-alpine Fixed in — No fix listed CNA
- @posthog/plugin-server (npm) Vendor— Affected up to 1.10.7 Fixed in — No fix listed GHSA-v64v-fq96-c5wv
Remediation
No fixed version listed by the sources yet.
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
PostHog — vendor-provided URL
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2025-01308 Server-side request forgery in PostHogPriority LOW 30
Timeline
- 2026-10-02 Threatist record created from CVE-2025-1520
- 2026-10-03 Alias added: GHSA-v64v-fq96-c5wv
References
More Posthog vulnerabilities
- TI-2024-09007 Server-side request forgery in PostHog CVSS 3.1HIGH 8.3
- TI-2025-01309 Server-side request forgery in PostHog CVSS 3.1MEDIUM 6.5
- TI-2025-01308 Server-side request forgery in PostHog CVSS 3.1MEDIUM 6.5
- TI-2022-00561 Open redirect vulnerability via endpoint authorize_and_redirect/?redirect= in posthog/posthog CVSS 3.1MEDIUM 6.1
- TI-2023-25229 Authenticated PostHog users vulnerable to SSRF CVSS 3.1MEDIUM 4.8
Sources
- CVE-2025-1520 · CVE Program
- CVE-2025-1520 · NVD
- FIRST EPSS
- GHSA-v64v-fq96-c5wv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences