Vulnerabilities

Vulnerability · CVE-2025-1520

PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability.

Published Apr 23, 2025 · catalog updated Apr 23, 2025 · PostHog ClickHouse Table Functions

Check this week

CVE-2025-1520 is not in CISA KEV. FIRST estimates a 47.00% chance of exploitation in the next 30 days. Check whether you run PostHog ClickHouse Table Functions.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (PostHog ClickHouse Table Functions).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
High7.1
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
47.00%
Remediation
Vendor / distro source
Affected products
vendor posthog posthog b8817c14065c23159dcf52849f0bdcd12516c43e, clickhouse 23.12.6.19-alpine

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor posthog posthog b8817c14065c23159dcf52849f0bdcd12516c43e, clickhouse 23.12.6.19-alpineb8817c14065c23159dcf52849f0bdcd12516c43e, clickhouse 23.12.6.19-alpine

How to fix CVE-2025-1520

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2025-1520 is not in CISA KEV. FIRST estimates a 47.00% chance of exploitation in the next 30 days. Check whether you run PostHog ClickHouse Table Functions.

Which versions are affected?

Compare what you have installed with posthog posthog b8817c14065c23159dcf52849f0bdcd12516c43e, clickhouse 23.12.6.19-alpine b8817c14065c23159dcf52849f0bdcd12516c43e, clickhouse 23.12.6.19-alpine. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 47.00%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Apr 23, 2025 · EUVD

    Detected

    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-suppli

  2. Apr 23, 2025 · EUVD

    Updated

    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-suppli

Sources

  • CVE.orgVulnerability recordCVE-2025-1520

    Official CVE identifier

    cve.org
  • EUVDVulnerability recordEUVD-2025-12167

    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 e

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.