<?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/"><channel><title>Credential-Exfiltration — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/credential-exfiltration/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata — refreshed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 03 Apr 2026 02:53:58 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/credential-exfiltration/feed.xml" rel="self" type="application/rss+xml"/><item><title>OpenClaw Arbitrary File Read and Credential Exfiltration Vulnerability</title><link>https://feed.craftedsignal.io/briefs/2026-04-openclaw-file-read/</link><pubDate>Fri, 03 Apr 2026 02:53:58 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-04-openclaw-file-read/</guid><description>The openclaw package is vulnerable to arbitrary file read and credential exfiltration due to media local roots self-whitelisting in `appendLocalMediaParentRoots`, allowing a model to initiate arbitrary host file reads, potentially leading to credential exfiltration.</description><content:encoded><![CDATA[<p>The <code>openclaw</code> npm package, versions 2026.3.28 and earlier, contains a vulnerability related to media local roots self-whitelisting in the <code>appendLocalMediaParentRoots</code> function. This flaw enables a malicious model to initiate arbitrary file reads on the host system. While the tool-fs root expansion requires prior configuration, the vulnerability can still be exploited, resulting in a narrower impact than a default-critical scenario. The vulnerability was reported by @tdjackey and patched in version 2026.3.31. Defenders should ensure they are running version 2026.3.31 or later of the <code>openclaw</code> package to mitigate the risk of arbitrary file read and potential credential exfiltration.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>A malicious actor crafts or modifies an existing OpenClaw model.</li>
<li>The model includes instructions to trigger the <code>appendLocalMediaParentRoots</code> function within the <code>src/media/local-roots.ts</code> file.</li>
<li>Due to the self-whitelisting behavior, the function expands the allowed media parent directories, potentially including sensitive system directories.</li>
<li>The model leverages the expanded directory access to request the reading of arbitrary files on the host system.</li>
<li>The <code>openclaw</code> application processes the model&rsquo;s file read request without proper validation due to the bypassed whitelisting.</li>
<li>Sensitive files, such as configuration files or credential stores, are read by the application.</li>
<li>The extracted data, including credentials, are then potentially exfiltrated by the malicious model.</li>
<li>The attacker gains unauthorized access to sensitive data or systems.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability allows an attacker to read arbitrary files on the host system where the <code>openclaw</code> application is running. This can lead to the exfiltration of sensitive information, including credentials, API keys, or other confidential data. While the exact number of affected installations is unknown, any system running a vulnerable version of the <code>openclaw</code> package (&lt;=2026.3.28) is susceptible. The impact is narrowed because the tool-fs root expansion requires prior configuration.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade the <code>openclaw</code> npm package to version 2026.3.31 or later to remediate the vulnerability (reference: Affected Packages / Versions).</li>
<li>Implement input validation and sanitization to prevent arbitrary file paths from being processed by the <code>appendLocalMediaParentRoots</code> function (reference: <code>src/media/local-roots.ts</code>).</li>
<li>Deploy the Sigma rule to detect attempts to access sensitive files via the <code>openclaw</code> application (reference: Sigma rule below).</li>
<li>Review and restrict the tool-fs root expansion configuration to minimize the impact of potential exploitation (reference: Current Maintainer Triage).</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>arbitrary-file-read</category><category>credential-exfiltration</category><category>openclaw</category><category>npm</category></item></channel></rss>