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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-155"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130747.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.2.18"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.7.53.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}