Vulnerability

CVE-2026-58493

mediumCVSS 4.0 5.1Published 10 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /getgrav/grav-plugin-database/commit/f6d058785c9e23df7efc5e…
  • github.com /getgrav/grav-plugin-database/releases/tag/1.2.0
  • github.com /getgrav/grav/security/advisories/GHSA-jm58-p4pv-qcwc

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning