p PatchFirst

CVE-2025-1520

CVE-2025-1520 · PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.1 · High · EPSS 0.5%

Published
Updated

Stack: node

Affected products and versions

  • posthog

    Versions
    • b8817c14065c23159dcf52849f0bdcd12516c43e, clickhouse 23.12.6.19-alpine: Affected

    No fix published

  • @posthog/plugin-server npm

    Affected ranges
    • SEMVER: ≤ 1.10.7

    No fix published

Original sources

Check your server →