<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Grav (&lt;= 2.0.17) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/grav--2.0.17/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 04 Sep 2026 13:25:58 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/grav--2.0.17/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Remote Code Execution in Grav via Twig sort filter</title><link>https://feed.craftedsignal.io/briefs/2026-09-grav-rce/</link><pubDate>Fri, 04 Sep 2026 13:25:58 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-grav-rce/</guid><description>Grav versions 2.0.17 and earlier contain a remote code execution vulnerability in the Twig sort filter that allows authenticated users with page-write permissions to execute arbitrary PHP code.</description><content:encoded><![CDATA[<p>Grav versions 2.0.17 and earlier are vulnerable to remote code execution (CVE-2026-85604) due to a security flaw in the Twig 'sort' filter. The vulnerability originates in the 'sortFunc' wrapper within 'GravExtension.php', which incorrectly sets the Twig 'isSandboxed' argument to 'false'. While other filters like 'map', 'filter', and 'reduce' correctly maintain sandbox restrictions, the 'sort' filter fails to prevent the use of arbitrary PHP functions. Specifically, the internal denylist fails to block 'spl_autoload', which can be leveraged to perform unauthorized PHP file inclusions. An attacker with minimal 'admin.pages' or 'api.pages.write' privileges can inject a crafted payload into form frontmatter or other page-rendering components, leading to arbitrary code execution under the context of the web server process. Defenders should upgrade to Grav 2.0.19 or later to remediate this vulnerability.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-85604 results in full remote code execution on the server hosting the Grav instance. This allows attackers to bypass application-level access controls, potentially leading to total system compromise, data theft, and persistence. The vulnerability is restricted to authenticated users with page-write capabilities, limiting the attack surface to malicious insiders or compromised administrative accounts.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade all instances of Grav to version 2.0.19 or later immediately.</li>
<li>Audit logs for administrative accounts (admin.pages or api.pages.write permissions) for suspicious activity or anomalous page updates.</li>
<li>Monitor for unexpected PHP executions originating from the web server process following page modifications.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>remote-code-execution</category><category>web-application</category><category>php</category></item></channel></rss>