Advisory record · GHSA-38p6-h87p-r4cg

Grav: Non constant time nonce comparison in Utils::verifyNonce() used for CSRF protection

CVSS 6.3 MediumEPSS 0.0022 · 12th percentile

Published by the GitHub Advisory Database at 17 Sept 2026, 20:25 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
getgrav/gravPackagist<2.0.162.0.16
Identifiers
GHSA-38p6-h87p-r4cg · CVE-2026-72701 · PKSA-xzd7-91fp-yh97
Weakness (CWE)
CWE-208
Published
17 Sept 2026
Updated
26 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The Grav CMS package getgrav/grav, versions before 2.0.16, has a non-constant-time comparison in Utils::verifyNonce(), which is used for CSRF nonce checks; the source reports it uses PHP's === operator rather than hash_equals(). An attacker who can send many requests and precisely measure response timing might in principle recover a valid nonce byte by byte, but the source says the timing signal is very small and that it did not demonstrate a practical remote attack. The fix is to upgrade to version 2.0.16.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.3 Medium 4.0 CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0022, the 12th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:53 UTC First seen by agentprime
  2. 31 Oct 2026, 13:53 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.