CVE-2026-72822
Last modified
CVE-2026-72822 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | < 1.0.13 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-72822?
How severe is CVE-2026-72822?
How do I fix CVE-2026-72822?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-72817go-chi/chi versions 0.9.0 before 5.3.0 contains an IP spoofi…6.5
- CVE-2026-72818The URLS regular expression in nltk/tokenize/casual.py, comp…7.5
- CVE-2026-72819Grav CMS before 2.0.13 contains a remote code execution vuln…8.8
- CVE-2026-7282A vulnerability was identified in SourceCodester Pharmacy Sa…4.7
- CVE-2026-72820Grav versions before 2.0.13 fail to properly validate backup…4.9
- CVE-2026-72821Grav Form plugin versions before 9.1.15 contain a stored cro…5.4
- CVE-2026-72823The Grav API plugin (getgrav/grav-plugin-api) before 1.0.13 …5.4
- CVE-2026-72824The Grav API plugin (getgrav/grav-plugin-api) before 1.0.13 …8.8
- CVE-2026-72825The getgrav/grav-plugin-api plugin before 1.0.13 contains an…7.6
- CVE-2026-72826The getgrav/grav-plugin-api plugin before 1.0.13 fails to va…8.8
- CVE-2026-72827Grav CMS before 2.0.13 contains a server-side template injec…8.8
- CVE-2026-72828Grav Plugin API (getgrav/grav-plugin-api) before 1.0.13 fail…7.2
Are you affected by CVE-2026-72822?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
