CVE-2026-72700
JSON

8.7high

Grav before 3.9.1 Timing Attack via Non-Constant-Time Token Comparison

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

The getgrav/grav-plugin-login Composer plugin before 3.9.1 (used by Grav) compares password reset and account activation tokens using a non-constant-time === string comparison instead of hash_equals() in classes/Controller.php (taskReset()) and login.php (activation handler). Because the token-submission endpoint (taskReset) also lacks rate limiting, an attacker could in principle send repeated token guesses against a known username and use the timing differences to attempt to recover a valid token, though the vendor rates the practical exploitability as low and no end-to-end network exploit has been demonstrated.

Affected

Product or packageVersionsReported by
getgrav gravbefore 3.9.1
Not affected: 3.9.1
CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-208

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

The getgrav/grav-plugin-login Composer plugin before 3.9.1 (used by Grav) compares password reset and account activation tokens using a non-constant-time === string comparison instead of hash_equals() in classes/Controller.php (taskReset()) and login.php (activation handler). Because the token-submission endpoint (taskReset) also lacks rate limiting, an attacker could in principle send repeated token guesses against a known username and use the timing differences to attempt to recover a valid token, though the vendor rates the practical exploitability as low and no end-to-end network exploit has been demonstrated.

NVD (es)

El plugin Composer getgrav/grav-plugin-login anterior a la versión 3.9.1 (utilizado por Grav) compara los tokens de restablecimiento de contraseña y activación de cuenta utilizando una comparación de cadenas '===' no de tiempo constante en lugar de hash_equals() en classes/Controller.php (taskReset()) y login.PHP (gestor de activación). Debido a que el punto final de envío de tokens (taskReset) también carece de limitación de velocidad, un atacante podría en principio enviar repetidas conjeturas de tokens contra un nombre de usuario conocido y usar las diferencias de tiempo para intentar recuperar un token válido, aunque el proveedor califica la explotabilidad práctica como baja y no se ha demostrado ningún exploit de red de extremo a extremo.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-72700 changed 2026-08-25CVE Terms of Use
NVDCVE-2026-72700 changed 2026-10-12Public domain