What’s Vulnerable › Vulnerabilities

CVE-2026-72701: Grav CMS before 2.0.16 Timing Attack via verifyNonce

Description

Grav CMS before 2.0.16 contains a timing vulnerability in Utils::verifyNonce() that uses non-constant-time string comparison with the === operator instead of hash_equals() for CSRF nonce validation. Attackers can measure response timing differences to recover valid nonce values byte-by-byte through multiple requests, weakening CSRF protection below its intended security margin.

Affected products

How to fix

Upgrade to a fixed version: getgrav grav 2.0.16. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-72701 or the next vulnerability affects your stack