CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"grav","vendor":"getgrav","versions":[{"status":"affected","version":"< 1.2.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d8341b524fad6a94efca37537e1f10e0d28d67d2097bbdd476ed9d8a4c56c553 · sha256:ca52f629987f24f0… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":9.2,"baseSeverity":"CRITICAL","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d8341b524fad6a94efca37537e1f10e0d28d67d2097bbdd476ed9d8a4c56c553 · sha256:ca52f629987f24f0… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-89","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d8341b524fad6a94efca37537e1f10e0d28d67d2097bbdd476ed9d8a4c56c553 · sha256:ca52f629987f24f0… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/getgrav/grav-plugin-database/commit/f6d058785c9e23df7efc5ea7556f8746fef286df","tags":["x_refsource_MISC"],"url":"https://github.com/getgrav/grav-plugin-database/commit/f6d058785c9e23df7efc5ea7556f8746fef286df"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d8341b524fad6a94efca37537e1f10e0d28d67d2097bbdd476ed9d8a4c56c553 · sha256:ca52f629987f24f0… · /containers/cna/references/1
{"name":"https://github.com/getgrav/grav-plugin-database/releases/tag/1.2.0","tags":["x_refsource_MISC"],"url":"https://github.com/getgrav/grav-plugin-database/releases/tag/1.2.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d8341b524fad6a94efca37537e1f10e0d28d67d2097bbdd476ed9d8a4c56c553 · sha256:ca52f629987f24f0… · /containers/cna/references/2
{"name":"https://github.com/getgrav/grav/security/advisories/GHSA-8jxg-4pw9-xcwf","tags":["x_refsource_CONFIRM"],"url":"https://github.com/getgrav/grav/security/advisories/GHSA-8jxg-4pw9-xcwf"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d8341b524fad6a94efca37537e1f10e0d28d67d2097bbdd476ed9d8a4c56c553 · sha256:ca52f629987f24f0… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.