medium5.1
CVE-2026-58493
grav-plugin-database is the database plugin for Grav CMS.
Impact
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
| Product | Affected versions |
|---|---|
| Grav-Plugin-Database Is The Database Plugin For Grav CMS. | before 1.2.0 |
Versions were read from the advisory text. No structured product data has been published for this record yet.