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 79%

CVE-2026-58493: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in getgrav grav

0
Medium
VulnerabilityCVE-2026-58493cvecve-2026-58493cwe-74
Published: 07/10/2026 (07/10/2026, 16:24:32 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, Database::__call builds PDO DSN strings by directly concatenating user-configurable YAML values from fields such as host, dbname, charset, server, database, directory, and filename without sanitization or validation, allowing an administrator with plugin configuration access to inject DSN attributes or path traversal values. This issue is fixed in version 1.2.0.

CVSS v4.0

Score 5.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/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/18/2026, 15:30:44 UTC

Technical Analysis

The grav-plugin-database component of Grav CMS versions before 1.2.0 constructs PDO DSN connection strings by concatenating user-configurable YAML fields such as host, dbname, charset, server, database, directory, and filename without sanitization or validation. This improper neutralization of special elements (CWE-74) enables an administrator with access to plugin configuration to inject DSN attributes or path traversal sequences, potentially altering database connection behavior or file paths. The vulnerability is addressed in version 1.2.0.

Potential Impact

An administrator with plugin configuration access can exploit this vulnerability to inject malicious DSN attributes or path traversal values, which may lead to unintended database connections or file system access. The CVSS 4.0 score is 5.1 (medium severity), reflecting that exploitation requires high privileges and no user interaction, with low impact on confidentiality and integrity and no impact on availability.

Mitigation Recommendations

Upgrade the grav-plugin-database plugin to version 1.2.0 or later, where this issue is fixed. There is no official patch advisory beyond this version update. Until upgraded, restrict administrative access to trusted users only to minimize risk.

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: 6a511ed668715ace43d68a05

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

Last enriched: 07/18/2026, 15:30:44 UTC

Last updated: 08/23/2026, 22:52:12 UTC

Views: 76

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