CVE-2026-72822
highpriority · track · 35OT risk · elevatedEPSS 0.006 · 46 %ileEUEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.3–9.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (1)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/getgrav/grav/security/advisories/GHSA-22p9-6fh4-mmf2cnnvd
- https://www.vulncheck.com/advisories/grav-before-authentication-bypass-via-disable2facnnvd
- https://github.com/getgrav/grav/security/advisories/GHSA-22p9-6fh4-mmf2enisa_euvd
- https://www.vulncheck.com/advisories/grav-before-authentication-bypass-via-disable2faenisa_euvd
- https://github.com/getgrav/grav/security/advisories/GHSA-22p9-6fh4-mmf2nvd
- https://www.vulncheck.com/advisories/grav-before-authentication-bypass-via-disable2fanvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan