<?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>Deepstream/Server (V10.1.0) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/deepstream/server-v10.1.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>Wed, 23 Sep 2026 01:59:03 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/deepstream/server-v10.1.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>deepstream Valve Permission System Bypass via PATCH_MULTI</title><link>https://feed.craftedsignal.io/briefs/2026-09-deepstream-valve-bypass/</link><pubDate>Wed, 23 Sep 2026 01:59:03 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-deepstream-valve-bypass/</guid><description>The deepstream server contains a vulnerability where the PATCH_MULTI action is missing from the Valve permission system's rule map, resulting in an unconditional allow for any authenticated user to perform unauthorized record writes.</description><content:encoded><![CDATA[<p>Deepstream servers using the Valve (ConfigPermission) permission system are vulnerable to an authorization bypass due to a configuration oversight in the <code>src/services/permission/valve/rules-map.ts</code> file. The <code>RECORD_ACTION.PATCH_MULTI</code> action, introduced in recent versions, was never registered in the <code>RULES_MAP</code> used by the system to evaluate user permissions.</p>
<p>When the server receives a <code>PATCH_MULTI</code> message, the <code>getRulesForMessage()</code> function fails to find a corresponding rule mapping and returns <code>null</code>. The system's security logic is designed to treat a <code>null</code> result as an unconditional allow, effectively bypassing all configured Valve permission rules. This allows any successfully authenticated user, regardless of their defined access level, to write arbitrary data to any record in the system. This vulnerability impacts production environments using the Valve permission model, potentially leading to unauthorized data modification, privilege escalation through record manipulation, and system-wide service disruption.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker performs authentication against the deepstream server using valid, low-privilege credentials.</li>
<li>Attacker crafts a malicious WebSocket message with <code>topic: RECORD</code> and <code>action: PATCH_MULTI</code>.</li>
<li>Attacker specifies a target record name (e.g., &quot;admin/secret-record&quot;) and malicious <code>parsedData</code> in the message payload.</li>
<li>The <code>message-processor.ts</code> service receives the request and triggers a permission evaluation call to <code>ConfigPermission.canPerformAction()</code>.</li>
<li>The permission service invokes <code>getRulesForMessage()</code> to retrieve the policy for <code>PATCH_MULTI</code>.</li>
<li><code>getRulesForMessage()</code> fails to find the action in the <code>RULES_MAP</code> and returns <code>null</code>.</li>
<li>The <code>config-permission.ts</code> logic evaluates the <code>null</code> result and defaults to an unconditional grant of access.</li>
<li>The server performs the record operation, modifying the target resource as requested by the attacker.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows any authenticated user to bypass all configured security policies, granting them write access to sensitive records and administrative data. Impact includes full data integrity loss, unauthorized privilege escalation if permission records are stored in deepstream, and potential application-level denial of service due to record corruption. Only deployments configured with <code>permission.type: 'config'</code> are affected.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Upgrade all instances of <code>@deepstream/server</code> to the version containing the fix for CVE-2026-63116.</li>
<li>If an immediate upgrade is not possible, apply a manual patch to <code>src/services/permission/valve/rules-map.ts</code> to include <code>[RECORD_ACTION.PATCH_MULTI]: RULE_TYPES.WRITE</code>.</li>
<li>Audit application record logs for suspicious <code>PATCH_MULTI</code> operations originating from low-privilege service accounts or users.</li>
<li>Implement strict network-level segmentation to limit the reach of authenticated users to internal deepstream management records.</li>
</ol>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>vulnerability</category><category>authorization-bypass</category><category>cve-2026-63116</category></item></channel></rss>