Live threats

All CVEs / getgrav

CVE-2026-62237getgrav grav

Medium 6.0

Priority
36
CVSS 4.0
6.0
EPSS
—
Auth required
Yes
Published
Jul 17, 2026
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Grav before 2.0.4 contains a regular expression denial of service (ReDoS) vulnerability in the regex_replace filter and function, which are allowlisted in the Twig content sandbox. When Twig processing in page content is enabled (security.twig_content.process_enabled: true, disabled by default), an authenticated page editor can supply a catastrophically backtracking PCRE pattern that is passed directly to PHP's preg_replace(), causing unbounded CPU consumption and denial of service to the web server process.

Original NVD text.

What to do

  1. Apply the vendor's security update for grav.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist getgrav/grav < 2.0.4 2.0.4 composer require "getgrav/grav:^2.0.4"

Per OSV / GitHub Advisories (GHSA-37f3-6p89-6qr9). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.