CVE Explorer
CVE-2026-58493
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"grav","vendor":"getgrav","versions":[{"status":"affected","version":"< 1.2.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5e0d292902d17f81f9fb478729f6e358155c882c0f35d7f3c7d7ed238294b9f6 · sha256:c9b2bafa065e38f4… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.1,"baseSeverity":"MEDIUM","privilegesRequired":"HIGH","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5e0d292902d17f81f9fb478729f6e358155c882c0f35d7f3c7d7ed238294b9f6 · sha256:c9b2bafa065e38f4… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-74","description":"CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5e0d292902d17f81f9fb478729f6e358155c882c0f35d7f3c7d7ed238294b9f6 · sha256:c9b2bafa065e38f4… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/getgrav/grav-plugin-database/commit/f6d058785c9e23df7efc5ea7556f8746fef286df","tags":["x_refsource_MISC"],"url":"https://github.com/getgrav/grav-plugin-database/commit/f6d058785c9e23df7efc5ea7556f8746fef286df"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e0d292902d17f81f9fb478729f6e358155c882c0f35d7f3c7d7ed238294b9f6 · sha256:c9b2bafa065e38f4… · /containers/cna/references/1
{"name":"https://github.com/getgrav/grav-plugin-database/releases/tag/1.2.0","tags":["x_refsource_MISC"],"url":"https://github.com/getgrav/grav-plugin-database/releases/tag/1.2.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e0d292902d17f81f9fb478729f6e358155c882c0f35d7f3c7d7ed238294b9f6 · sha256:c9b2bafa065e38f4… · /containers/cna/references/2
{"name":"https://github.com/getgrav/grav/security/advisories/GHSA-jm58-p4pv-qcwc","tags":["x_refsource_CONFIRM"],"url":"https://github.com/getgrav/grav/security/advisories/GHSA-jm58-p4pv-qcwc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e0d292902d17f81f9fb478729f6e358155c882c0f35d7f3c7d7ed238294b9f6 · sha256:c9b2bafa065e38f4… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/getgrav/grav/security/advisories/GHSA-jm58-p4pv-qcwc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e0d292902d17f81f9fb478729f6e358155c882c0f35d7f3c7d7ed238294b9f6 · sha256:c9b2bafa065e38f4… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.