CVE-2026-62672
Grav is a file-based Web platform. Prior to 2.0.4, Grav allowlists …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/getgrav/grav/commit/907116268ad4f48be7472c57f64981918578599a
- github.com/getgrav/grav/releases/tag/2.0.4
- github.com/getgrav/grav/security/advisories/GHSA-37f3-6p89-6qr9
- nvd.nist.gov/vuln/detail/CVE-2026-62672
- github.com/advisories/GHSA-37f3-6p89-6qr9
- nvd.nist.gov/vuln/detail/CVE-2026-62672
- cve.org/CVERecord?id=CVE-2026-62672
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.