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.
History

Thu, 07 Aug 2025 18:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:posthog:posthog:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 8.0, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Wed, 23 Apr 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 23 Apr 2025 17:00:00 +0000

Type Values Removed Values Added
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. 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.
Title PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability
Weaknesses CWE-89
References
Metrics cvssV3_0

{'score': 7.1, 'vector': 'CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published: 2025-04-23T16:45:19.536Z

Updated: 2025-04-23T18:13:52.561Z

Reserved: 2025-02-20T20:51:11.373Z

Link: CVE-2025-1520

cve-icon Vulnrichment

Updated: 2025-04-23T18:13:32.031Z

cve-icon NVD

Status : Analyzed

Published: 2025-04-23T17:16:52.250

Modified: 2025-08-07T18:23:30.827

Link: CVE-2025-1520

cve-icon Redhat

No data.