CVE-2026-130747 Details
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.
An authentication bypass vulnerability has been identified in Grav versions prior to 1.7.53.7 and in the 2.x series prior to 2.2.18. This vulnerability allows anonymous users to create super-admin accounts. The issue arises because the UserCollection::count() function uses an unescaped glob pattern, which can be manipulated by the file path. On installations where the path includes brackets or a backslash, the account count is incorrectly reported as zero. This enables attackers to send requests to the API's setup endpoint or the classic admin registration form to create or overwrite administrator accounts.
Users can update Grav to version 2.2.18 or 1.7.53.7, both of which address the vulnerability by correcting the account counting method. For Grav 2 sites, the API plugin should also be updated to version 1.1.6.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 18, 2026CISA-ADP
Assessed Nov 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/getgrav/grav/security/advisories/GHSA-gjx7-95hg-x969 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-155 | Improper Neutralization of Wildcards or Matching Symbols | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Grav | >= 2.0.0, <= 2.2.17 (semver) <= 1.7.53.6 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 18, 2026 | CVE Modified | CISA-ADP |
| Nov 18, 2026 | New CVE Received | [email protected] |
Volerion