CVE-2026-62672CWE-1333

CVE-2026-62672

published August 19, 2026

CVSS
6.0
EPSS
0%
Percentile
30.9
In the wild
Unconfirmed
What it is

Grav is a file-based Web platform. Prior to 2.0.4, Grav allowlists the regex_replace filter and function in system/config/security.yaml, and GravExtension::regexReplace() passes an editor-controlled pattern directly to preg_replace(). When security.twig_content.process_enabled is enabled, an authenticated page editor can publish a catastrophically backtracking pattern that consumes PHP worker CPU and denies service to site visitors. This issue is fixed in version 2.0.4.

The record
Technical detail
CVSS
6.0 · NONE
CVSS v4.0
6.0 · CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.00381 · 30.9th percentile
Weakness
CWE-1333 · Inefficient Regular Expression Complexity
Published
2026-08-19T20:18Z
References (4)
EPSS history
Timeline
  • 19 AUG 15:44Z
    Grav: Authenticated ReDoS via regex_replace in Twig Sandbox
    cvelistv5