Improper Authentication Affecting getgrav/grav package, versions <2.0.4


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (32nd 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 Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-GETGRAVGRAV-19428031
  • published29 Aug 2026
  • disclosed19 Aug 2026
  • creditUnknown

Introduced: 19 Aug 2026

NewCVE-2026-62669  (opens in a new tab)
CWE-287  (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 Improper Authentication in the login.regenerate2FASecret process. An attacker can gain unauthorized access by submitting a correct password for a victim and invoking the process during the pending TOTP challenge, which allows overwriting the twofa_secret, reading the new secret from the response, calculating a valid code, and completing authentication without the second factor.

CVSS Base Scores

version 4.0
version 3.1