Read the docs
TI-2026-51048 Aliases CVE-2026-72822GHSA-993x-642g-h4x5

Grav before 1.0.13 Authentication Bypass via disable2fa

Priority MEDIUM 46CWE-306Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-306.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00555 46th percentileScored 2026-11-07
Fix Fixed grav (getgrav): 1.0.13

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
getgravgravbefore 1.0.131.0.13Patch availableCNA
  • grav Vendorgetgrav Affected before 1.0.13 Fixed in 1.0.13 Patch available CNA

Remediation

  • Fix · CNA grav (getgrav) Fixed in 1.0.13

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    getgrav grav 1.0.13

    6 records Highest priority Priority HIGH 3 HIGH, 2 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2026-51056 Grav API Plugin before 1.0.13 RCE via ConfigController scope bypassPriority HIGH 79
    • TI-2026-51055 Grav before 1.0.13 API Key Scope Bypass via UsersControllerPriority HIGH 79
    • TI-2026-51050 Grav before 1.0.13 API Key Scope Bypass via PagesControllerPriority HIGH 79

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-72822
  2. 2026-10-03 Alias added: GHSA-993x-642g-h4x5

References

  • TI-2026-30893 Grav: Privilege Escalation via Missing Server-Side Validation of groups/access CVSS 3.1CRITICAL 9.4
  • TI-2025-28971 Cross Site Scripting vulnerability in grav v.1.7.48 and before allows an attacker to… CVSS 3.1CRITICAL 9.8
  • TI-2021-04523 Unauthenticated Arbitrary YAML Write/Update leads to Code Execution CVSS 3.1CRITICAL 9.8
  • TI-2026-50940 Grav CMS before 2.0.16 Origin Validation Bypass via Referer CVSS 4.0CRITICAL 9.3
  • TI-2026-46446 Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData CVSS 4.0CRITICAL 9.3
  • TI-2021-22428 GravCMS 1.10.7 - Arbitrary YAML Write/Update (Unauthenticated) (2) CVSS 4.0CRITICAL 9.3
See all 228 →

Sources