{"id":"CVE-2026-72822","aliases":["CVE-2026-72822"],"related":[],"kind":"vulnerability","state":"published","title":"Grav before 1.0.13 Authentication Bypass via disable2fa","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-14T11:35:31.592Z","modified":"2026-08-31T20:38:54.340Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-306"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.0.13","status":"affected"},{"type":"semver","version":"1.0.13","status":"unaffected"}],"vendor":"getgrav","product":"grav","source":"cvelist"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-22p9-6fh4-mmf2","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/grav-before-authentication-bypass-via-disable2fa","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["manus-use"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-08-14T15:17:03.687Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72822","url":"https://www.cve.org/CVERecord?id=CVE-2026-72822","licence":"CVE Terms of Use","modified":"2026-08-24T10:28:31.192Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72822","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72822","licence":"Public domain","modified":"2026-08-31T20:38:54.340Z"}],"updatedAt":"2026-11-25T22:59:32.904Z","epss":{"score":0.00299,"percentile":0.24298,"date":"2026-12-01T12:00:22.000Z"}}