Advisory

GHSA-v64v-fq96-c5wv

Also known as: CVE-2025-1520

Summary

PostHog Plugin Server SQL Injection Vulnerability

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-04-23 18:30 UTC
Modified
2025-04-23 19:57 UTC

Affected packages and fixes

@posthog/plugin-server

npm · All systems

Affected

  • introduced 0, last affected 1.10.7 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences