PT-2026-57223 · Grav · Grav-Plugin-Database

CVE-2026-58492

·

Published

2026-07-10

·

Updated

2026-07-10

CVSS v4.0

9.2

Critical

VectorAV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions grav-plugin-database versions prior to 1.2.0
Description The PDO::tableExists() function interpolates its table argument directly into a raw SQL query string without sanitization, escaping, quoting, or whitelisting. This allows attacker-controlled table names passed by consuming plugin or developer code to execute arbitrary SQL against the configured database.
Recommendations Update to version 1.2.0.

Exploit

Fix

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-58492
GHSA-8JXG-4PW9-XCWF

Affected Products

Grav-Plugin-Database