Threat Feed

CVE-2026-130747: getgrav grav · Authentication bypass

Exploitation: None known · CVSS 9.2 Critical · Unauthenticated · Published 2026-11-18

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.

Fix

Upgrade to 2.2.18 or 1.7.53.7, whichever matches your release line.

Vendor advisory

Affected versions

ProductVulnerableFixed in
grav2.0.0 before 2.2.182.2.18
grav0 before 1.7.53.71.7.53.7

Seen in 2 sources