CVE-2026-130747
9.2critical
Grav before 1.7.53.7 and 2.x before 2.2.18 Authentication Bypass via First-Run Setup
- Severity
- 9.2critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| getgrav grav | from 2.0.0 before 2.2.18, before 1.7.53.7 Not affected: 2.2.18, 1.7.53.7 | CVE List |
All scores
| VulnCheck | 9.2critical CVSS:4.0 | CVSS: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 | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-130747 changed 2026-11-18 | CVE Terms of Use |
| NVD | CVE-2026-130747 changed 2026-11-18 | Public domain |