Read the docs
TI-2025-01307 Aliases CVE-2025-1520GHSA-v64v-fq96-c5wv

SQL injection in PostHog

Priority LOW 37CWE-89Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00469 40th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
PostHogPostHogb8817c14065c23159dcf52849f0bdcd12516c43e, clickhouse 23.12.6.19-alpine—No fix listedCNA
—@posthog/plugin-server (npm)up to 1.10.7—No fix listedGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:posthog:posthog:*:*:*:*:*:*:*:*before 0.3.7VulnerablePostHog
  • cpe:2.3:a:posthog:posthog:*:*:*:*:*:*:*:* Versions before 0.3.7 Vulnerable ·PostHog

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

  1. 2026-10-02 Threatist record created from CVE-2025-1520
  2. 2026-10-03 Alias added: GHSA-v64v-fq96-c5wv

References

  • 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