# CVE-2026-72822: Grav before 1.0.13 Authentication Bypass via disable2fa

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-14T11:35:31.592Z
- Modified: 2026-08-31T20:38:54.340Z
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulnCheck

## Description

The getgrav/grav-plugin-api Composer package before 1.0.13 (affected <= 1.0.12) fails to enforce API key scope caps on the disable2fa endpoint. Unlike the sibling generate2fa endpoint, disable2fa authorizes the admin (non-self) path solely via ACL reads (isSuperAdmin/hasPermission) and never invokes requirePermission(), so the api_key_scopes cap is never applied. As a result, a holder of a narrow-scope API key on a super account, or a non-super account whose ACL includes api.users.write, can force-disable two-factor authentication on any non-super target account via POST /api/v1/users/{user}/2fa/disable without providing a TOTP code, facilitating account takeover.

(As written by CVE List.)

## Affected

- getgrav grav: before 1.0.13 (not affected: 1.0.13)

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-22p9-6fh4-mmf2> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/grav-before-authentication-bypass-via-disable2fa> (third-party-advisory)

## Sources

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

---

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