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.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 18 Nov 2026 11:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Grav before 1.7.53.7 and 2.x before 2.2.18 Authentication Bypass via First-Run Setup | |
| First Time appeared |
Getgrav
Getgrav grav |
|
| Weaknesses | CWE-155 | |
| CPEs | cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Getgrav
Getgrav grav |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-11-18T17:51:33.010Z
Reserved: 2026-11-17T15:40:59.229Z
Link: CVE-2026-130747
No data.
Status : Deferred
Published: 2026-11-18T12:17:22.197
Modified: 2026-11-18T18:19:12.900
Link: CVE-2026-130747
No data.
OpenCVE Enrichment
Updated: 2026-11-18T19:30:22Z
Weaknesses