CVE-2026-130747
Critical 9.2No known exploitationFix availableGrav before 1.7.53.7 and 2.x before 2.2.18 Authentication Bypass via First-Run Setup
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 23% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Weakness: CWE-155
Patching and mitigation
- Patch status
- Fix available (source: CVE record (VulnCheck))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| getgrav | grav | from 2.0.0 before 2.2.18 | 2.2.18 | CVE Program |
| getgrav | grav | all versions before 1.7.53.7 | 1.7.53.7 | CVE Program |
| getgrav | grav (unaffected) | 1.7.53.7 | Not documented | CVE Program |
| getgrav | grav (unaffected) | 2.2.18 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by VulnCheck
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (VulnCheck)