We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-1520

PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability



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.

Reserved 2025-02-20 | Published 2025-04-23 | Updated 2025-04-23 | Assigner zdi


HIGH: 7.1CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Product status

Default status
unknown

b8817c14065c23159dcf52849f0bdcd12516c43e, clickhouse 23.12.6.19-alpine
affected

References

www.zerodayinitiative.com/advisories/ZDI-25-099/ (ZDI-25-099)

github.com/...ommit/6e8f035f9acd339c5ba87ba6ea40fc1ab3053d42 (vendor-provided URL) vendor-advisory

cve.org (CVE-2025-1520)

nvd.nist.gov (CVE-2025-1520)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-1520

Support options

Helpdesk Chat, Email, Knowledgebase