# CVE-2026-130747: Grav before 1.7.53.7 and 2.x before 2.2.18 Authentication Bypass via First-Run Setup

- Severity: Critical 9.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-11-18T11:34:02.693Z
- Modified: 2026-11-18T18:19:12.900Z
- Weaknesses: CWE-155
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- getgrav grav: from 2.0.0 before 2.2.18; before 1.7.53.7 (not affected: 2.2.18; 1.7.53.7)

## Every score

- VulnCheck: CVSS:4.0 9.2 Critical `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`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-gjx7-95hg-x969> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-130747](https://www.cve.org/CVERecord?id=CVE-2026-130747), CVE Terms of Use, modified 2026-11-18
- NVD: [CVE-2026-130747](https://nvd.nist.gov/vuln/detail/CVE-2026-130747), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-130747 · Whole record: https://cve.day/CVE-2026-130747.json · Rebuilt by cve.day 2026-11-25T22:59:51.812Z
