Vulnerability Description
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.
Related Weaknesses (CWE)
References
- https://github.com/getgrav/grav-plugin-database/commit/f6d058785c9e23df7efc5ea75
- https://github.com/getgrav/grav-plugin-database/releases/tag/1.2.0
- https://github.com/getgrav/grav/security/advisories/GHSA-8jxg-4pw9-xcwf
FAQ
What is CVE-2026-58492?
CVE-2026-58492 is a documented vulnerability. 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, escapin...
How severe is CVE-2026-58492?
CVSS scoring is not yet available for CVE-2026-58492. Check NVD for updates.
Is there a patch for CVE-2026-58492?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.