Home

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.

PUBLISHED Reserved 2026-06-30 | Published 2026-07-10 | Updated 2026-07-13 | Assigner GitHub_M




MEDIUM: 5.1CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Problem types

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

Product status

< 1.2.0
affected

References

github.com/...v/grav/security/advisories/GHSA-jm58-p4pv-qcwc exploit

github.com/...v/grav/security/advisories/GHSA-jm58-p4pv-qcwc

github.com/...ommit/f6d058785c9e23df7efc5ea7556f8746fef286df

github.com/getgrav/grav-plugin-database/releases/tag/1.2.0

cve.org (CVE-2026-58493)

nvd.nist.gov (CVE-2026-58493)

Download JSON