Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-1520

HIGH 7.1EPSS 51%

PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability

Also known as GHSA-v64v-fq96-c5wv

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Projects that depend on npm package @posthog/plugin-server (<= 1.10.7)
  • Anyone running PostHog b8817c14065c23159dcf52849f0bdcd12516c43e, clickhouse 23.12.6.19-alpine

Vulnerability facts

Affected
@posthog/plugin-server <= 1.10.7
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.1 (v3.0, CNA)CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Adjacent network
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.74% chance of exploitation in 30 days (percentile 51, 2026-11-26)
CWE
CWE-89
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
npm @posthog/plugin-server<= 1.10.7—osv
PostHogb8817c14065c23159dcf52849f0bdcd12516c43e, clickhouse 23.12.6.19-alpine—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-1520. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-1520.md
Affected: @posthog/plugin-server <= 1.10.7
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for @posthog/plugin-server (npm), PostHog: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-1520 being exploited?

There is no confirmed exploitation: CVE-2025-1520 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.74% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-1520?

High: CVSS 7.1 (v3.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-1520?

@posthog/plugin-server <= 1.10.7.

Is there a fix for CVE-2025-1520?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-1520?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors