CVE-2026-130747 Grav before 1.7.53.7 and 2.x before 2.2.18 Authentication Bypass via First-Run Setup
- Exploited in the wild
- Not known
- Fix
- 1.7.53.7, 2.2.18
What is CVE-2026-130747?
CVE-2026-130747 is a critical vulnerability in getgrav grav, published on 18 Nov 2026.
Official 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
Which versions are affected by CVE-2026-130747?
How do I fix CVE-2026-130747?
Upgrade getgrav grav to the fixed version for your release line. The advisory names 1.7.53.7 and 2.2.18.
Is CVE-2026-130747 being exploited?
There is no known exploitation of CVE-2026-130747 in the wild and no public exploit code.
Sources
Also known as GHSA-9wxr-j34r-qpfw, GHSA-gjx7-95hg-x969.