SQL Injection in Getgrav Grav
CVE-2026-58492
grav-plugin-database is the database plugin for Grav CMS. Prior to 1.2.0, the PDO::tableExists method interpolates its table argument directly into a raw SQL query string without sanitization, escaping, quoting, or whitelisting, allowing attacker-controlled table names passed by consuming plugin or developer code to execute arbitrary SQL against the configured database. This issue is fixed in version 1.2.0.
Vulnerability class: SQL Injection
Published · last modified .
EPSS exploit prediction
EPSS 0.005, 45.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Getgrav Grav — versions < 1.2.0