CVE-2026-130747
JSON

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 packageVersionsReported by
getgrav gravfrom 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

VulnCheck9.2critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-155

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-130747 changed 2026-11-18CVE Terms of Use
NVDCVE-2026-130747 changed 2026-11-18Public domain