CVE-2026-72702 CRITICAL

CVE-2026-72702: Grav CMS before 2.0.16 Origin Validation Bypass via Referer

Vendor Getgrav
Product grav
Weakness CWE-346 · Origin validation
Published August 25, 2026
Last update August 28, 2026

CVSS base score

9.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

What the vulnerability does

01Description

Grav CMS before 2.0.16 contains an origin validation bypass in the Uri::referrer() and Pages::referrerRoute() methods, which validate the Referer header using an unanchored string prefix match (str_starts_with($referrer, $base)) with no trailing delimiter. An attacker who controls a domain that begins with the victim site's origin (e.g. https://example.com.attacker.tld) can send a request with such a Referer to be treated as same-origin, bypassing the Referer-based origin check.

Key dates

02Disclosure timeline

August 25, 2026 CVE published
August 28, 2026 Record updated