<?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>@Nx/Maven (&gt;= 22.0.2, &lt; 22.7.9; &gt;= 23.0.0, &lt; 23.1.2) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/@nx/maven--22.0.2--22.7.9--23.0.0--23.1.2/</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>Fri, 30 Oct 2026 15:10:15 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/@nx/maven--22.0.2--22.7.9--23.0.0--23.1.2/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>Nx Maven and Gradle plugins: OS command injection (CVE-2026-119282)</title><link>https://feed.craftedsignal.io/briefs/2026-10-nx-maven-gradle-rce/</link><pubDate>Fri, 30 Oct 2026 15:10:15 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-nx-maven-gradle-rce/</guid><description>The @nx/maven and @nx/gradle plugins contain an OS command injection vulnerability where unsafely interpolated nx.json configuration options lead to arbitrary command execution during project-graph analysis.</description><content:encoded><![CDATA[<p>The Nx plugins <code>@nx/maven</code> and <code>@nx/gradle</code> are susceptible to OS command injection due to insecure interpolation of plugin options from <code>nx.json</code> into shell commands. This vulnerability is triggered whenever an <code>nx</code> command initiates project-graph analysis in a workspace containing a maliciously crafted <code>nx.json</code>.</p>
<p>For <code>@nx/maven</code>, the injectable option is <code>targetNamePrefix</code>. For <code>@nx/gradle</code>, the vulnerability is more extensive, as arbitrary plugin option names and values are interpolated into command-line arguments. This flaw poses a risk to CI environments and local developers working within untrusted repositories. There is no evidence of active exploitation in the wild.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows arbitrary command execution under the privileges of the user running the <code>nx</code> command. This represents a significant risk in automated CI pipelines that process pull requests or external repositories, as an attacker with write access to the <code>nx.json</code> file can execute code without requiring access to build files themselves.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade <code>@nx/maven</code> and <code>@nx/gradle</code> to version <strong>22.7.9</strong> (for the 22.x line) or <strong>23.1.2</strong> (for the 23.x line) or later.</li>
<li>Upgrading the plugin alone is insufficient; users must ensure the core <code>nx</code> package is also upgraded to a compatible version as the fix depends on updated core code.</li>
<li>Use <code>nx migrate 23.1.2</code> to update the project dependencies.</li>
<li>Until updates are applied, restrict the execution of <code>nx</code> commands to repositories from trusted sources only.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>supply-chain</category><category>command-injection</category><category>nodejs</category></item></channel></rss>