Vulnerability Description
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.
Related Weaknesses (CWE)
References
- https://github.com/getgrav/grav/commit/907116268ad4f48be7472c57f64981918578599a
- https://github.com/getgrav/grav/releases/tag/2.0.4
- https://github.com/getgrav/grav/security/advisories/GHSA-37f3-6p89-6qr9
- https://github.com/getgrav/grav/security/advisories/GHSA-37f3-6p89-6qr9
FAQ
What is CVE-2026-62672?
CVE-2026-62672 is a documented vulnerability. 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 p...
How severe is CVE-2026-62672?
CVSS scoring is not yet available for CVE-2026-62672. Check NVD for updates.
Is there a patch for CVE-2026-62672?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.