CVE-2026-62237
Last modified
CVE-2026-62237 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | < 2.0.4 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-62237?
How severe is CVE-2026-62237?
How do I fix CVE-2026-62237?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-62231The Grav API plugin (getgrav/grav-plugin-api) before 1.0.6 c…8.6
- CVE-2026-62232Grav before 2.0.4 contains a two-factor authentication bypas…9.1
- CVE-2026-62233grav-plugin-api before 1.0.6 fails to validate super-admin s…8.8
- CVE-2026-62234Grav before 2.0.4 fails to restrict cURL protocols in webhoo…8.4
- CVE-2026-62235Grav Flex-Objects before version 1.4.3 contains a broken acc…6.3
- CVE-2026-62236grav-plugin-login before 3.8.11 contains a cross-site reques…5.4
- CVE-2026-62238OpenRemote before 1.26.0 contain an authenticated SQL inject…8.8
- CVE-2026-62239FlashAttention through 2.8.3.post1, fixed in commit 0816ef1,…6.6
- CVE-2026-6224A security flaw has been discovered in nocobase plugin-workf…7.3
- CVE-2026-62240CrewAI before 1.15.1 contains a server-side request forgery …8.3
- CVE-2026-62241clawvet self-hosted API server (apps/api) before 0.7.5 hard-…9.3
- CVE-2026-62242Spring Boot Admin Server before 4.1.2 contains a server-side…8.6
Are you affected by CVE-2026-62237?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
