CVE-2026-58492: Vulnerability in grav-plugin-database is the database plugin for Grav CMS.
Critical. 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.
CWE-89
- Exploitation
- None confirmed
- Severity
- 9.2 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:4.0/AV: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
- Weakness
- CWE-89
- Published
- 10 Jul 2026
- Last change
- 25 Oct 2026
Affected products
Affected versions and the first fixed release
- grav-plugin-database is the database plugin for Grav CMS. Before 1.2.0. Fixed in 1.2.0
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/getgrav/grav-plugin-database/commit/f6d058785c9e23df7efc5ea7556f8746fef286df
- github.com/getgrav/grav-plugin-database/releases/tag/1.2.0
Related
- grav-plugin-database is the database plugin for Grav CMS. vulnerabilities Recent advisories, watch this product