Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-58492— grav-plugin-database: SQL Injection in PDO::tableExists() due to Unsanitized Table Name Interpolation

Quick assessment

Affected
getgrav grav
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

getgrav Grav是getgrav个人开发者开源的一套可扩展的内容管理系统。 getgrav Grav 1.2.0之前版本存在SQL注入漏洞,该漏洞源于PDO::tableExists方法将表参数直接插入SQL查询字符串且未经清理、转义、引号或白名单处理,导致可执行任意SQL。

AI Predicted 8.1 Difficulty: Easy EPSS 0.53% · P43

Affected Version Matrix 1

VendorProduct Version RangeStatus
getgrav grav < 1.2.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-58492

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
grav-plugin-database: SQL Injection in PDO::tableExists() due to Unsanitized Table Name Interpolation
Source: CVE Program / CVE List V5
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
getgrav Grav SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
getgrav Grav是getgrav个人开发者开源的一套可扩展的内容管理系统。 getgrav Grav 1.2.0之前版本存在SQL注入漏洞,该漏洞源于PDO::tableExists方法将表参数直接插入SQL查询字符串且未经清理、转义、引号或白名单处理,导致可执行任意SQL。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
getgrav grav < 1.2.0 -

II. Public POCs for CVE-2026-58492

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-58492

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-58492 (1)

Vendor Advisories for CVE-2026-58492 (1)

Vendor Pages for CVE-2026-58492 (1)

Same Patch Batch · getgrav · 2026-07-10 · 10 CVEs total

CVE-2026-55885 6.8 MEDIUM Grav: Admin Backup Zip File Exposes Account Credentials and Configuration Secrets
CVE-2026-61450 6.5 MEDIUM Grav before 2.0.2 Config Exfiltration via offsetGet Filter
CVE-2026-61455 6.5 MEDIUM Grav before 2.0.1 Decompression Bomb via ZipArchiver
CVE-2026-55890 4.8 MEDIUM Grav: Stored CSS injection via Markdown image ?style=… reaches MediaObjectTrait::style()
CVE-2026-61456 4.6 MEDIUM Grav before 1.0.3 Stored XSS via SVG Upload API
CVE-2026-53653 Grav: Unauthenticated denial of service via unbounded image derivative dimensions
CVE-2026-58493 grav-plugin-database: DSN Parameter Injection via Unsanitized Configuration Values in Conn
CVE-2026-59193 Grav CMS — Improper Handling of Highly Compressed Data in Installer::unZip()
CVE-2026-59190 Grav Admin Plugin — IDOR Privilege Escalation via saveUser()

IV. Related Vulnerabilities

V. Comments for CVE-2026-58492

No comments yet


Leave a comment