Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 77%

CVE-2026-58492: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in getgrav grav

0
Critical
VulnerabilityCVE-2026-58492cvecve-2026-58492cwe-89
Published: 07/10/2026 (07/10/2026, 16:22:37 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: grav

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.

CVSS v4.0

Score 9.2critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
getgrav/grav-plugin-database
pkg:github/getgrav/grav-plugin-database
Affected versions
<1.2.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 16:47:29 UTC

Technical Analysis

The grav-plugin-database for Grav CMS versions before 1.2.0 contains a SQL injection vulnerability (CWE-89) in the PDO::tableExists method. This method interpolates the table name argument directly into a SQL query string without sanitization, escaping, quoting, or whitelisting. As a result, an attacker who can control the table name parameter via plugin or developer code can execute arbitrary SQL commands on the database. The vulnerability is fixed in version 1.2.0.

Potential Impact

Successful exploitation allows an unauthenticated attacker to execute arbitrary SQL commands on the database, potentially leading to data disclosure, data modification, or other database compromises. The CVSS 4.0 score is 9.2 (critical), indicating a high-impact vulnerability with network attack vector and no user interaction required.

Mitigation Recommendations

Upgrade grav-plugin-database to version 1.2.0 or later, where this SQL injection vulnerability is fixed. Since no official patch or temporary fix details are provided beyond this version update, applying this upgrade is the recommended remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-30T20:21:25.812Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a511ed668715ace43d68a00

Added to database: 07/10/2026, 16:33:26 UTC

Last enriched: 07/10/2026, 16:47:29 UTC

Last updated: 08/24/2026, 10:52:10 UTC

Views: 85

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses