Missing Authorization Affecting getgrav/grav package, versions >=2.0.3, <2.0.4


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-GETGRAVGRAV-18017868
  • published19 Jul 2026
  • disclosed17 Jul 2026
  • creditUnknown

Introduced: 17 Jul 2026

NewCVE-2026-62232  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade getgrav/grav to version 2.0.4 or higher.

Overview

getgrav/grav is a Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS.

Affected versions of this package are vulnerable to Missing Authorization in the regenerate2FASecret process. An attacker can gain unauthorized access by regenerating the two-factor authentication secret during the pending TOTP challenge window, provided they know the victim's password. This allows the attacker to overwrite the existing 2FA secret with a value of their choosing, compute a valid TOTP code, and complete authentication, effectively bypassing the intended two-factor authentication protection.

CVSS Base Scores

version 4.0
version 3.1