PatchSiren cyber security CVE debrief
CVE-2026-72822 getgrav CVE debrief
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. 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. Evidence is based on CVE and NVD records; further verification is recommended. The CVE record was published on 2026-08-14T12:16:45.267Z and has not been modified since then. Administrators and users of the getgrav/grav-plugin-api package, especially those with API keys or administrative access, should be aware of this vulnerability and take immediate action to protect their systems. CVE-2026-72822 is rated HIGH with a CVSS score of 8.7; verify and apply vendor patches immediately.
- Vendor
- getgrav
- Product
- grav
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-14
- Original CVE updated
- 2026-08-31
- Advisory published
- 2026-08-14
- Advisory updated
- 2026-08-31
Who should care
Administrators and users of the getgrav/grav-plugin-api package, especially those with API keys or administrative access, should be aware of this vulnerability and take immediate action to protect their systems.
Technical summary
The getgrav/grav-plugin-api Composer package before 1.0.13 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. 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.
Defensive priority
CVE-2026-72822 is rated HIGH with a CVSS score of 8.7; verify and apply vendor patches immediately.
Recommended defensive actions
- Verify and apply the vendor patch to update the getgrav/grav-plugin-api Composer package to version 1.0.13 or later.
- Review and restrict API key scopes to prevent unauthorized access.
- Implement additional monitoring to detect potential exploitation attempts.
- Conduct an inventory check to identify affected systems and prioritize remediation.
- Consider compensating controls, such as IP restrictions or rate limiting, until patching is complete.
Evidence notes
The getgrav/grav-plugin-api Composer package before 1.0.13 fails to enforce API key scope caps on the disable2fa endpoint. 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. Evidence is based on CVE and NVD records; further verification is recommended.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-72822 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-72822
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-72822 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-72822
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/getgrav/grav/security/advisories/GHSA-22p9-6fh4-mmf2
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/grav-before-authentication-bypass-via-disable2fa
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.