A AegiFlow
MEDIUMCVSS 6.0EPSS 0.4%

CVE-2026-62672

CVE-2026-62672 updated by NVD

Published
2026-09-02
Modified
2026-09-17
EPSS percentile
33%
Sources
github-advisory, nvd

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
Packagistgetgrav/grav—2.0.4

Remediation: Upgrade to 2.0.4 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.