> CVE-2026-58493 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-07-10 17:17
MODIFIED
2026-07-10 17:35
CVSS_SCORE V3
5.1
EPSS (Prob. Exploit)
0.50%
Top 58.0%
DATA SOURCES:
NVD 🔗 2026-07-10 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 OSV 🔗 2026-07-16

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
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/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

> MÉTRIQUES CVSS DÉTAILLÉES

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/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
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
High (H)
Authentifié avec privilèges administratifs
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-74

> CWE DETAILED DESCRIPTIONS

CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component - The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

grav-plugin-database: DSN Parameter Injection via Unsanitized Configuration Values in Connection String Construction

AFFECTED PACKAGES:
Unknown / Unknown
6 versions affected
ALIASES:
GHSA-jm58-p4pv-qcwc

> HISTORIQUE DES MODIFICATIONS

Première apparition
10/07/2026 17:17
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') - The product constructs all or part of a command, data structure, or record using externally...
Nouvelle valeur:
CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component - The product constructs all or part of a command, data structure, or record using externally-influenced in...
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') - The product constructs all or part of a command, data structure, or record using externally...
Total des modifications: 2 Dernière mise à jour: 5 days ago

> REFERENCES

https://github.com/getgrav/grav-plugin-database/commit/f6d058785c9e23df7efc5ea75...
https://github.com/getgrav/grav-plugin-database/releases/tag/1.2.0
https://github.com/getgrav/grav/security/advisories/GHSA-jm58-p4pv-qcwc
« BACK_TO_HOME