← VULNERABILITIES

CVE-2026-130747

Grav before 1.7.53.7 and 2.x before 2.2.18 Authentication Bypass via First-Run Setup

Critical · 9.2Fix available
CVSS
9.2
EPSS
0.30% (p24)
Published
2026-11-18
Age
18d old
Modified
2026-11-18
Product
getgrav grav
Aliases
EUVD-2026-128597, GHSA-gjx7-95hg-x969

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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.

Fixed in

1.7.53.7 · 2.2.18

Affected packages

EcosystemPackageRangeFixed
vendorgrav>=0, <1.7.53.71.7.53.7
vendorgrav>=2.0.0, <2.2.182.2.18

Sources

  • NVD · first seen 18d ago · NVD terms of use
  • OSV · first seen 18d ago · CC-BY 4.0
  • ENISA EUVD · first seen 18d ago · ENISA
  • CVE List · first seen 18d ago · CVE Terms of Use

References

JSON