CVE-2026-130747

8.1High

Published 18 Nov 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite

8.1CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
High
Privileges
None
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-155

What an attacker gets

Remote attackers can create or overwrite super-admin accounts on your Grav instance. This requires the installation path to contain brackets or a backslash.

Root cause

The UserCollection::count() method uses an unescaped glob() pattern, causing it to return zero when specific characters are present in the path.

Affected versions

Grav before 1.7.53.7 and 2.x before 2.2.18

CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to Grav 1.7.53.7 or 2.2.18. If you cannot patch immediately, ensure your installation path does not contain brackets or backslashes.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-130747