Grav before 2.0.18 (affected versions <= 2.0.17) contains a remote code execution vulnerability in the Twig sort filter. The sortFunc wrapper in GravExtension.php hardcodes Twig's isSandboxed argument to false, so unlike |map/|filter/|reduce, |sort accepts a plain function name inside the sandbox; the remaining denylist misses spl_autoload, which performs a PHP include. An authenticated user with only page-write rights (admin.pages or api.pages.write) can supply a crafted payload (e.g., via form frontmatter rendered by the Email plugin) that invokes spl_autoload through the sort filter, resulting in arbitrary PHP execution as the web server user.
CVE-2026-85604
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-09-04. a secondary CVSS source baseline 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.8(high)
- EG Risk
- 56(Track*)EG Risk 56/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity88% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Watch closely — could escalate to Attend. - EPSS PROB
- 1%
- EPSS %ILE
- 57%
- KEV
- Not listed
Published
September 4, 2026
Last Modified
September 8, 2026
Advisory Details (2)
Auto-updated Sep 4, 2026Grav before 2.0.19 Remote Code Execution via sort filter | Advisories | VulnCheck
https://www.vulncheck.com/advisories/grav-before-2.0.19-remote-code-execution-via-sort-filtersort() passes isSandboxed=false, so a page editor can call arbitrary PHP functions through the Twig sandbox · Advisory · getgrav/grav · GitHub
https://github.com/getgrav/grav/security/advisories/GHSA-p6qj-p5m7-f62hVendor Advisories for CVE-2026-85604(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 26× in last 7d / 85× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-25 06:03 UTCGHSA enrichment
- 2026-09-24 16:59 UTCEG score recompute
- 2026-09-24 16:59 UTCGHSA enrichment
- 2026-09-24 14:04 UTCEPSS rescore
- 2026-09-24 03:55 UTCEG score recompute
- 2026-09-24 03:55 UTCGHSA enrichment
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-23 14:38 UTCGHSA enrichment
- 2026-09-23 01:32 UTCEG score recompute
- 2026-09-23 01:32 UTCGHSA enrichment
- 2026-09-22 16:01 UTCEPSS rescore
- 2026-09-22 12:28 UTCGHSA enrichment
- 2026-09-21 23:23 UTCEG score recompute
- 2026-09-21 23:23 UTCGHSA enrichment
- 2026-09-21 21:09 UTCEPSS rescore
- 2026-09-21 10:18 UTCGHSA enrichment
- 2026-09-20 21:13 UTCEG score recompute
- 2026-09-20 21:13 UTCGHSA enrichment
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-20 08:09 UTCGHSA enrichment
- 2026-09-19 18:54 UTCEG score recompute
- 2026-09-19 18:54 UTCGHSA enrichment
- 2026-09-19 05:49 UTCEG score recompute
- 2026-09-19 05:49 UTCGHSA enrichment
- 2026-09-18 19:28 UTCEPSS rescore
Show 60 moreShow fewer
- 2026-09-18 16:45 UTCGHSA enrichment
- 2026-09-18 03:41 UTCEG score recompute
- 2026-09-18 03:41 UTCGHSA enrichment
- 2026-09-17 19:32 UTCEPSS rescore
- 2026-09-17 14:37 UTCGHSA enrichment
- 2026-09-17 01:33 UTCEG score recompute
- 2026-09-17 01:33 UTCGHSA enrichment
- 2026-09-16 14:09 UTCEPSS rescore
- 2026-09-16 12:29 UTCEG score recompute
- 2026-09-16 12:29 UTCGHSA enrichment
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-15 23:24 UTCGHSA enrichment
- 2026-09-15 10:16 UTCEG score recompute
- 2026-09-15 10:16 UTCGHSA enrichment
- 2026-09-15 03:12 UTCEPSS rescore
- 2026-09-15 03:12 UTCEPSS rescore
- 2026-09-14 21:11 UTCGHSA enrichment
- 2026-09-14 07:58 UTCGHSA enrichment
- 2026-09-13 18:54 UTCEG score recompute
- 2026-09-13 18:54 UTCGHSA enrichment
- 2026-09-13 05:49 UTCGHSA enrichment
- 2026-09-12 16:45 UTCEG score recompute
- 2026-09-12 16:45 UTCGHSA enrichment
- 2026-09-12 03:41 UTCEG score recompute
- 2026-09-12 03:41 UTCGHSA enrichment
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 14:37 UTCEG score recompute
- 2026-09-11 14:37 UTCGHSA enrichment
- 2026-09-11 01:33 UTCGHSA enrichment
- 2026-09-10 12:29 UTCEG score recompute
- 2026-09-10 12:29 UTCGHSA enrichment
- 2026-09-09 23:23 UTCGHSA enrichment
- 2026-09-09 09:19 UTCEG score recompute
- 2026-09-09 09:19 UTCGHSA enrichment
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-08 20:14 UTCGHSA enrichment
- 2026-09-08 18:17 UTCEG score recompute
- 2026-09-08 18:17 UTCGHSA enrichment
- 2026-09-08 17:04 UTCEG score recompute
- 2026-09-08 17:04 UTCGHSA enrichment
- 2026-09-08 04:46 UTCEG score recompute
- 2026-09-08 04:46 UTCGHSA enrichment
- 2026-09-07 15:41 UTCGHSA enrichment
- 2026-09-07 02:37 UTCEG score recompute
- 2026-09-07 02:37 UTCGHSA enrichment
- 2026-09-06 13:48 UTCEPSS rescore
- 2026-09-06 13:30 UTCGHSA enrichment
- 2026-09-06 00:26 UTCEG score recompute
- 2026-09-06 00:26 UTCGHSA enrichment
- 2026-09-05 15:31 UTCEPSS rescore
- 2026-09-05 11:22 UTCEG score recompute
- 2026-09-05 11:22 UTCGHSA enrichment
- 2026-09-05 10:37 UTCEG score recompute
- 2026-09-05 10:36 UTCGHSA enrichment
- 2026-09-05 01:26 UTCEG score recompute
- 2026-09-05 01:26 UTCGHSA enrichment
- 2026-09-04 12:21 UTCEG score recompute
- 2026-09-04 11:34 UTCEG score recompute
- 2026-09-04 11:33 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-85604?
When was CVE-2026-85604 disclosed?
Is CVE-2026-85604 actively exploited?
What is the CVSS score of CVE-2026-85604?
How do I remediate CVE-2026-85604?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-85604
Is Your Infrastructure Affected by CVE-2026-85604?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.