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

Published Aug 25, 2026
·
Updated

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 hashequals() 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 Software

1 affected component
Grav Grav CMS<2.0.16

Event History

Aug 25, 2026
CVE Published
via MITRE·01:30 AM
Data Sourced
via MITRE·01:30 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Grav CMS versions before 2.0.16 are affected. The vulnerable nonce validation is in Utils::verifyNonce().

2

What does an attacker need to exploit this issue?

The attacker can make multiple requests and measure response timing differences while testing nonce values. No privileges or user interaction are indicated by the supplied CVSS vector.

3

What is the practical security impact?

Timing measurements may allow recovery of valid CSRF nonce values one byte at a time, weakening the intended CSRF protection. The stated impact is integrity-only, with no confidentiality or availability impact.

4

How can the issue be remediated?

Upgrade Grav CMS to version 2.0.16 or later. The vulnerable behavior is the use of the non-constant-time === comparison rather than hash_equals() for nonce validation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203