<?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>Scriban (6.6.0) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/scriban-6.6.0/</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>Sun, 16 Aug 2026 14:26:38 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/scriban-6.6.0/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>Authorization Bypass in Scriban via Stale Template Cache</title><link>https://feed.craftedsignal.io/briefs/2026-08-scriban-cache-bypass/</link><pubDate>Sun, 16 Aug 2026 14:26:38 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-scriban-cache-bypass/</guid><description>Scriban versions before 7.0.0 fail to clear the CachedTemplates dictionary during TemplateContext.Reset(), potentially allowing unauthorized access to template content across reused contexts.</description><content:encoded><![CDATA[<p>Scriban, a popular templating engine for .NET, contains a vulnerability (CVE-2026-74791) in versions prior to 7.0.0. The issue stems from the failure to properly clear the <code>CachedTemplates</code> dictionary when the <code>TemplateContext.Reset()</code> method is invoked. This flaw allows cached templates to persist across different rendering contexts. In applications where <code>ITemplateLoader</code> implementations are request-dependent, this behavior can be leveraged by an attacker to access template content that was intended for a different, potentially more privileged user or request context. Because the template is retrieved from the stale cache, the <code>TemplateLoader.Load()</code> method is not re-triggered, bypassing intended authorization checks that would typically occur during the loading phase. This vulnerability poses a significant risk of unauthorized information disclosure in multi-tenant or request-heavy applications.</p>
<h2 id="impact">Impact</h2>
<p>The vulnerability allows for unauthorized access to sensitive information by serving cached template content across security boundaries. If an application relies on per-request authorization during the loading of templates, an attacker may be able to view content rendered for other users. This vulnerability is rated as high severity due to the potential for unauthorized data access without requiring user interaction or authentication.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Upgrade all instances of the Scriban library to version 7.0.0 or higher to ensure the <code>CachedTemplates</code> dictionary is correctly reset.</li>
<li>Audit applications using Scriban that implement custom <code>ITemplateLoader</code> logic, specifically checking if authorization checks are performed only during the <code>Load()</code> method, as this will be bypassed for cached templates.</li>
<li>Monitor application logs for anomalous template rendering activity or unexpected data access patterns in environments leveraging reused <code>TemplateContext</code> objects.</li>
</ol>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item><item><title>Access-Modifier Bypass in Scriban</title><link>https://feed.craftedsignal.io/briefs/2026-08-scriban-bypass/</link><pubDate>Sun, 16 Aug 2026 14:25:30 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-scriban-bypass/</guid><description>Scriban versions prior to 7.2.2 contain an access-modifier bypass in TypedObjectAccessor that allows unauthorized modification of private, internal, or init-only CLR object properties via template injection.</description><content:encoded><![CDATA[<p>Scriban, a popular .NET template engine, contains a critical access-modifier bypass vulnerability (CVE-2026-73061) affecting the TypedObjectAccessor component. This flaw occurs in versions prior to 7.2.2 and enables template code to circumvent standard setter-visibility checks. By exploiting this, an attacker can write to CLR object properties that should be protected by private, internal, or init-only modifiers.</p>
<p>The vulnerability is particularly severe because it allows for mass assignment on public-setter properties and the modification of protected object states. In a web application context, an attacker capable of providing or influencing template input can manipulate internal host object states, potentially leading to privilege escalation or unauthorized data modification within the host application. Given the ubiquity of Scriban in .NET-based enterprise applications, organizations using custom template rendering logic are at risk of state manipulation attacks.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker identifies an endpoint or application feature that accepts user-supplied templates for rendering via Scriban.</li>
<li>Attacker crafts a malicious template payload targeting the TypedObjectAccessor functionality.</li>
<li>The template engine processes the user-provided input and invokes TypedObjectAccessor to resolve or set properties on the underlying host object.</li>
<li>Due to the lack of visibility checks in the vulnerable library, the engine fails to validate if the target property allows external modification.</li>
<li>The attacker successfully writes to restricted properties, such as those marked internal or private.</li>
<li>The application uses the manipulated object state in subsequent business logic, leading to privilege escalation, bypass of security constraints, or state corruption.</li>
<li>The final objective is typically the compromise of application logic or unauthorized modification of data within the application memory space.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows attackers to bypass property setter constraints, leading to arbitrary property writes. This results in the potential for complete compromise of application state, unauthorized privilege elevation, or data manipulation. Given the nature of template engines in .NET frameworks, the impact is consistent with full application control for the affected process.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Upgrade all instances of the Scriban library to version 7.2.2 or later to remediate CVE-2026-73061.</li>
<li>Perform a code audit on all application components that process user-supplied templates using Scriban.</li>
<li>Implement strict input validation or sandboxing for any templates sourced from untrusted users to prevent unauthorized access to the underlying .NET object model.</li>
</ol>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>vulnerability</category><category>dot-net</category><category>template-injection</category><category>access-control</category><category>sandbox-bypass</category><category>cve-2026-74790</category><category>.net</category><category>denial-of-service</category><category>scriban</category><category>cve-2026-74783</category></item></channel></rss>