PatchSiren

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-24
Advisory published
2026-08-14
Advisory updated
2026-08-24

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.

Official resources

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-14T12:16:45.267Z and has not been modified since then.