Ghost SQL Injection Vulnerability in Admin API Members Events Endpoint

Vulnerability

A SQL injection vulnerability has been identified in the Ghost content management system, specifically in versions 5.90.0 prior to 5.130.5 and 6.0.0 prior to 6.10.3. The vulnerability exists in the '/ghost/api/admin/members/events' endpoint, where authenticated users with Admin API credentials can execute arbitrary SQL. This issue arises because the endpoint does not properly validate the 'postId' parameter, allowing for the injection of malicious SQL strings.

Impact

Exploitation of this vulnerability allows for arbitrary SQL execution, which could be used to manipulate the database, such as altering or deleting data, or potentially executing additional attacks such as SQL injection-based privilege escalation or code execution, depending on the application's database handling.

Reproduction

To reproduce this vulnerability, send a request to the '/ghost/api/admin/members/events' endpoint with an injected SQL payload in the 'data.post_id' field of the request filter. The injection can be crafted to manipulate the SQL query executed by the application, taking advantage of the lack of proper validation on the 'postId' parameter.

Remediation

Users can upgrade to Ghost versions 5.130.6 or 6.11.0, both of which include the necessary patch to address this vulnerability.

Added: Jan 10, 2026, 3:18 AM
Updated: Jan 10, 2026, 3:18 AM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
5.0
exploitability
6.0
remediation
7.7
relevance
1.9
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.