Skip to main content
VulnerabilityPublished Updated

CVE-2026-62237: getgrav grav · ReDoS

Affects getgrav gravSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.0 Medium : upgrade to 2.0.4 when convenient.

Data as of 29 Nov 2026, 18:37 UTC

CVSS 4.0 base score
6.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.0.4
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.

What to do

Upgrade grav and getgrav/grav to 2.0.4.

Affected software

ProductAffectedFixed in
getgravgravAffected
  • <2.0.4
Fixed in
  • 2.0.4
GitHubgravpkg:github/gravOther threatsAffected
  • <2.0.4
Fixed in
  • 2.0.4
Packagistgetgrav/gravpkg:composer/getgrav/gravOther threatsAffected
  • <2.0.4
Fixed in
  • 2.0.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, consider disabling Twig content processing in page content by ensuring the configuration security.twig_content.process_enabled is set to false (default setting). Restrict authenticated page editor privileges to trusted users only to reduce risk.

Description

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.

References

Community reviews

Loading reviews…