CVE-2025-1522 PostHog database_schema Server-Side Request Forgery Information Disclosure Vulnerability

High 7.1 Published Updated

Authenticated attackers can exploit a Server-Side Request Forgery flaw in PostHog to disclose sensitive information via the database_schema method.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-1522?

CVE-2025-1522 is a high-severity server-side request forgery vulnerability in PostHog, published on 23 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

PostHog database_schema Server-Side Request Forgery Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of PostHog. Authentication is required to exploit this vulnerability.

The specific flaw exists within the implementation of the database_schema method. The issue results from the lack of proper validation of a URI prior to accessing resources. An attacker can leverage this vulnerability to disclose information in the context of the service account. Was ZDI-CAN-25358.

Weakness: CWE-918

Which versions are affected by CVE-2025-1522?

It affects 1 product.

Products include Posthog Posthog.

How do I fix CVE-2025-1522?

No fix has been published for CVE-2025-1522 yet. Limit exposure of the affected software until one is available.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2025-1522 being exploited?

There is no known exploitation of CVE-2025-1522 in the wild and no public exploit code.

Sources

Also known as GHSA-55cg-p3v8-2vr3.

Is CVE-2025-1522 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free