<?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>Apache Kyuubi (1.7.0 - 1.11.1) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/apache-kyuubi-1.7.0---1.11.1/</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, 04 Aug 2026 13:42:57 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/apache-kyuubi-1.7.0---1.11.1/feed.xml" rel="self" type="application/rss+xml"/><item><title>Unauthenticated Arbitrary File Write in Apache Kyuubi REST API</title><link>https://feed.craftedsignal.io/briefs/2026-08-kyuubi-path-traversal/</link><pubDate>Tue, 04 Aug 2026 13:42:57 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-kyuubi-path-traversal/</guid><description>An unauthenticated path-traversal vulnerability in the Apache Kyuubi REST API (CVE-2026-52680) allows remote attackers to write arbitrary files to the filesystem, leading to remote code execution.</description><content:encoded><![CDATA[<p>Apache Kyuubi versions 1.7.0 through 1.11.1 contain an unauthenticated arbitrary file write vulnerability (CVE-2026-52680) in the REST API's batch submission endpoint. The flaw exists in the <code>Utils.writeToTempFile</code> method within <code>kyuubi-common</code>, which fails to sanitize the user-supplied filename during multipart form uploads. An attacker can craft a <code>POST</code> request to <code>/api/v1/batches</code> containing a filename with path-traversal sequences (e.g., <code>../</code>). While the application mangles the basename by appending a suffix, attackers can target directories such as <code>/etc/profile.d/</code> to drop scripts that are automatically sourced by login shells. This vulnerability is particularly dangerous when Kyuubi is configured with <code>kyuubi.authentication=NONE</code>, which is the default setting. The exploit allows code execution as the user running the Kyuubi process, which could result in full system compromise if Kyuubi is incorrectly running with root privileges.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker performs reconnaissance to identify Apache Kyuubi REST interfaces reachable on TCP port 10099.</li>
<li>Attacker verifies the target is unauthenticated by sending a <code>GET</code> request to <code>/api/v1/ping</code>.</li>
<li>Attacker constructs a multipart <code>POST</code> request to <code>/api/v1/batches</code>.</li>
<li>The request includes a <code>batchRequest</code> JSON payload and a <code>resourceFile</code> multipart part.</li>
<li>The <code>resourceFile</code> uses a path-traversal filename (e.g., <code>../../../../../../etc/profile.d/pwn.sh</code>) to escape the target directory.</li>
<li>The Kyuubi process writes the malicious payload to the filesystem (e.g., <code>/etc/profile.d/pwn--.sh</code>).</li>
<li>A user (or scheduled task) initiates a login shell, triggering the system to source the malicious script in <code>/etc/profile.d/</code>.</li>
<li>The payload executes within the context of the user opening the shell, achieving remote code execution.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The vulnerability allows unauthenticated attackers to achieve remote code execution on the host server. The impact is significant for organizations running Kyuubi in exposed environments, as it enables full server compromise if the Kyuubi process operates with elevated privileges.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade all instances of Apache Kyuubi to version 1.12.0 or later immediately to incorporate proper path normalization.</li>
<li>Enable authentication by setting <code>kyuubi.authentication</code> to a secure mechanism (e.g., KERBEROS, LDAP, or PAM) instead of the default <code>NONE</code>.</li>
<li>Ensure the Kyuubi service runs with the least privilege possible; never run the service as root.</li>
<li>Restrict access to the Kyuubi REST gateway (default port 10099) using network firewalls or VPNs to prevent public or untrusted network exposure.</li>
<li>Monitor webserver access logs for anomalous <code>POST</code> requests to <code>/api/v1/batches</code> that contain directory traversal patterns.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category></item></channel></rss>