<?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 (2.0.0-Rc.1 Through 2.0.21) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/grav-2.0.0-rc.1-through-2.0.21/</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>Thu, 17 Sep 2026 13:57:24 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/grav-2.0.0-rc.1-through-2.0.21/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>Grav CMS Twig Sandbox Bypass via Configuration Exposure</title><link>https://feed.craftedsignal.io/briefs/2026-09-grav-cms-sandbox-bypass/</link><pubDate>Thu, 17 Sep 2026 13:57:24 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-grav-cms-sandbox-bypass/</guid><description>CVE-2026-92917 allows an authenticated user with page-edit privileges in Grav CMS 2.0.0-rc.1 through 2.0.21 to bypass Twig sandboxing and exfiltrate the full application configuration, including API keys and credentials.</description><content:encoded><![CDATA[<p>Grav CMS, a popular flat-file content management system, contains a vulnerability (CVE-2026-92917) within its Twig content sandbox implementation in versions 2.0.0-rc.1 through 2.0.21. The vulnerability stems from an incorrect implementation of the sandbox security check in <code>GravExtension::assertSandboxDumpSafe()</code>. Instead of checking if specific filters like <code>print_r</code>, <code>json_encode</code>, or <code>yaml_encode</code> are sandboxed relative to the source, the extension queries the global sandbox flag, which remains permanently disabled in Grav. Consequently, the safety guards intended to restrict data dumping fail. An authenticated attacker with page-edit permissions can leverage this by embedding Twig template code within a page. When rendered, the application processes the request, ignores the sandbox restrictions, and outputs the entire internal <code>Config</code> object, including sensitive secrets stored in private properties that are normally redacted. This exposure allows attackers to harvest SMTP credentials, API tokens, webhook secrets, and cache backend passwords. The vulnerability is resolved in Grav version 2.0.22, where the filters are correctly registered with Twig’s <code>needs_is_sandboxed</code> flag.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows an authenticated user to gain access to sensitive application configuration data. This includes administrative secrets required for third-party integrations and backend services. Exposure of these credentials can facilitate further compromise of internal infrastructure, external services, and data exfiltration, significantly increasing the attacker's footprint within the environment.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade all instances of Grav CMS to version 2.0.22 or later immediately to patch CVE-2026-92917.</li>
<li>Audit web application logs for administrative users accessing Twig-related rendering functions, specifically looking for attempts to use <code>print_r</code>, <code>vardump</code>, or <code>json_encode</code> filters within page content updates.</li>
<li>Revoke and rotate all secrets (SMTP, API tokens, webhooks) found in the Grav configuration if a compromise is suspected to have occurred between version 2.0.0-rc.1 and 2.0.22.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cms</category><category>web-application</category><category>security-misconfiguration</category><category>information-disclosure</category></item></channel></rss>