CVE-2026-130747
published critical CVSS 4.0 · 9.2Grav before 1.7.53.7 and 2.x before 2.2.18 Authentication Bypass via First-Run Setup
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav2.0.0 to < 2.2.18 (affected · semver) · 2.2.18 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| getgrav | — | grav0 to < 1.7.53.7 (affected · custom) · 1.7.53.7 (unaffected · custom) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.2 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| getgrav | grav | 2.0.0 to < 2.2.18 (affected · semver)2.2.18 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| getgrav | grav | 0 to < 1.7.53.7 (affected · custom)1.7.53.7 (unaffected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-155 Improper Neutralization of Wildcards or Matching Symbols
References
1- GitHub Security Advisory (GHSA-gjx7-95hg-x969) https://github.com/getgrav/grav/security/advisories/GHSA-gjx7-95hg-x969
Provider assertions
2VulnCheck · cna
Grav before 1.7.53.7 and 2.x before 2.2.18 Authentication Bypass via First-Run Setup
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8d13b043b745c1369dd5ecfbc4974126564af5815aa23676c221b8b7c6e616ba
- Ingested
- 18 Nov 2026, 18:02:45 UTC
- Source record
- Official CVE record