<?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>Langchain-Chatchat (&lt;= 0.3.1.3) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/langchain-chatchat--0.3.1.3/</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>Tue, 20 Oct 2026 02:31:27 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/langchain-chatchat--0.3.1.3/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>Unauthenticated Remote Code Execution in Langchain-Chatchat</title><link>https://feed.craftedsignal.io/briefs/2026-10-langchain-chatchat-rce/</link><pubDate>Tue, 20 Oct 2026 02:31:27 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-langchain-chatchat-rce/</guid><description>Langchain-Chatchat versions up to 0.3.1.3 contain a critical vulnerability in the /tools/call endpoint that permits unauthenticated remote code execution via arbitrary tool invocation.</description><content:encoded><![CDATA[<p>Langchain-Chatchat versions through 0.3.1.3 contain a critical remote code execution vulnerability (CVE-2026-75128) resulting from improper access control on the application API. The POST /tools/call endpoint allows any remote attacker to invoke registered system tools by name without prior authentication. Because the application includes a shell execution tool among its default registered assets, an attacker can leverage this endpoint to execute arbitrary OS commands. In the standard Docker deployment configuration, this command execution occurs with root privileges, leading to full system compromise. This vulnerability is highly dangerous due to the absence of authentication requirements and the direct path to command execution.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker identifies a target host running Langchain-Chatchat (&lt;= 0.3.1.3) exposed to the internet.</li>
<li>Attacker performs discovery to identify the API structure, locating the /tools/call endpoint.</li>
<li>Attacker sends a crafted HTTP POST request to the /tools/call endpoint.</li>
<li>The request payload specifies the 'shell' tool as the target for execution.</li>
<li>The application processes the request without validating the user session or permissions.</li>
<li>The shell tool executes the attacker-supplied command string on the underlying host.</li>
<li>The application returns the output of the command to the attacker.</li>
<li>Attacker achieves full system control as the application user (typically root).</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows unauthenticated remote attackers to execute arbitrary commands on the host server. Given the application is frequently deployed in containerized environments, this typically grants the attacker full root access to the container or host filesystem, enabling data exfiltration, lateral movement, or complete system takeover.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Immediately restrict network access to the Langchain-Chatchat API endpoint, ensuring it is not reachable from untrusted networks or the public internet.</li>
<li>Monitor web server logs for POST requests directed at /tools/call, especially those containing references to shell-related utilities in the request body.</li>
<li>Apply the vendor-provided security patch once available; verify versioning for releases exceeding 0.3.1.3.</li>
<li>Audit all containerized deployments to ensure the application process is running with the least privilege necessary, rather than the default root user.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category></item></channel></rss>