← All CVEs

CVE-2026-58493

MEDIUM 5.1 PoC AVAILABLE ALL-YEARS

Published 2026-07-10 · Last modified 2026-07-13 · GitHub_M · NVD: Deferred

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.

EXPLOIT AVAILABLE

Public exploit or PoC code exists. The barrier to attack is reduced — watch closely.

Exploitation likelihood

0.3%chance of exploitation in 30 days · 21st percentile

○ In CISA KEV● Public exploit / PoC◆ SSVC: exploitation poc, automatable no

Impact if exploited

5.1CVSS 4.0 · MEDIUM · CNA

  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone

What an attacker needs

  • Access: Reachable over the network — no local access needed
  • Privileges: Requires an admin / high-privilege account
  • User interaction: No user interaction needed
  • Complexity: No special conditions — reliably repeatable
  • Requirements: No special attack requirements

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept & exploit code

Test against your own equipment

curl -s https://vulnpedia.com/cve/CVE-2026-58493/poc.jsonMachine-readable PoC index for this CVE (for automation).

For defensive triage, patch verification, and authorized testing on systems you own. Machine-readable: /cve/CVE-2026-58493/poc.json

Affected

Vendors Getgrav

Products Grav

Weakness (CWE)

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

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

All CVSS metrics

  • MEDIUM 5.1 v4.0 · CNA Primary
    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
  • MEDIUM 5.1 v4.0 · NVD Secondary
    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

Sources: NVD · CVE.org · EPSS