CVE-2026-72822
published high CVSS 4.0 · 8.7Grav before 1.0.13 Authentication Bypass via disable2fa
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav0 to < 1.0.13 (affected · semver) · 1.0.13 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| getgrav | grav | 0 to < 1.0.13 (affected · semver)1.0.13 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-306 Missing Authentication for Critical Function
References
2- GitHub Security Advisory (GHSA-22p9-6fh4-mmf2) https://github.com/getgrav/grav/security/advisories/GHSA-22p9-6fh4-mmf2
- VulnCheck Advisory: Grav before 1.0.13 Authentication Bypass via disable2fa https://www.vulncheck.com/advisories/grav-before-authentication-bypass-via-disable2fa
Provider assertions
2VulnCheck · cna
Grav before 1.0.13 Authentication Bypass via disable2fa
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 721c7d9a5a1c509a71d3b67597d11b787e1420abaa74599264af0604ea3d9d6a
- Ingested
- 23 Sep 2026, 09:30:18 UTC
- Source record
- Official CVE record