{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-62672","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-07-14T20:22:04.394Z","datePublished":"2026-08-19T15:44:36.287Z","dateUpdated":"2026-08-19T18:00:39.622Z"},"containers":{"cna":{"title":"Grav: Authenticated ReDoS via regex_replace in Twig Sandbox","problemTypes":[{"descriptions":[{"cweId":"CWE-1333","lang":"en","description":"CWE-1333: Inefficient Regular Expression Complexity","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"references":[{"name":"https://github.com/getgrav/grav/security/advisories/GHSA-37f3-6p89-6qr9","tags":["x_refsource_CONFIRM"],"url":"https://github.com/getgrav/grav/security/advisories/GHSA-37f3-6p89-6qr9"},{"name":"https://github.com/getgrav/grav/commit/907116268ad4f48be7472c57f64981918578599a","tags":["x_refsource_MISC"],"url":"https://github.com/getgrav/grav/commit/907116268ad4f48be7472c57f64981918578599a"},{"name":"https://github.com/getgrav/grav/releases/tag/2.0.4","tags":["x_refsource_MISC"],"url":"https://github.com/getgrav/grav/releases/tag/2.0.4"}],"affected":[{"vendor":"getgrav","product":"grav","versions":[{"version":"< 2.0.4","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-08-19T15:44:36.287Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-37f3-6p89-6qr9","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-37f3-6p89-6qr9","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-19T18:00:33.930663Z","id":"CVE-2026-62672","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-19T18:00:39.622Z"}}]}}