Paper/Archive/CVE-2026-130747

CVE-2026-130747

getgrav grav — Grav before 1.7.53.7 and 2.x before 2.2.18 Authentication Bypass via First-Run Setup

Description · from the CVE record

Grav before 1.7.53.7 and 2.x before 2.2.18 contains an authentication bypass vulnerability that allows anonymous visitors to create super-admin accounts because UserCollection::count() uses an unescaped glob() pattern. On installs whose path contains brackets or a backslash, the account count returns zero, so attackers can send requests to POST /api/v1/auth/setup or the classic admin registration form to create or overwrite administrator accounts.

Affected

ProductAffectedFixed inSource
grav2.0.0 – < 2.2.182.2.18CNA
grav< 1.7.53.71.7.53.7CNA

Scores by source

VulnCheck (CNA)9.2CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

advisorygithub.com/getgrav/grav/security/advisories/GHSA-gjx7-95hg-x969