<?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>Composer (&gt;= 1.0, &lt; 2.2.30) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/composer--1.0--2.2.30/</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, 08 Sep 2026 21:50:03 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/composer--1.0--2.2.30/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>Arbitrary Command Execution in Composer via Malicious Perforce Source URLs</title><link>https://feed.craftedsignal.io/briefs/2026-09-composer-rce/</link><pubDate>Tue, 08 Sep 2026 21:50:03 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-composer-rce/</guid><description>Composer versions before 2.10.3 and 2.2.30 are vulnerable to remote code execution when the Perforce CLI client is installed and a malicious package metadata source URL is processed (CVE-2026-84361).</description><content:encoded><![CDATA[<p>Composer, a dependency manager for PHP, contains a vulnerability (CVE-2026-84361) that allows for arbitrary command execution when the Perforce (p4) CLI client is installed on the local system. The vulnerability exists because Composer fails to properly sanitize Perforce source URLs defined in package metadata before passing them to the <code>p4</code> command-line utility. Attackers who can control a package's <code>source</code> metadata - typically by utilizing private/third-party Composer repositories or untrusted <code>composer.lock</code> files - can provide specially crafted strings that the <code>p4</code> client interprets as local system commands rather than network connection endpoints.</p>
<p>This flaw impacts developers and CI environments where the <code>p4</code> client is present on the system <code>PATH</code>. When <code>composer install</code> or <code>composer update</code> is executed against a malicious repository or lock file, the commands injected via the Perforce source URL are executed with the privileges of the user running the Composer process. This vulnerability was addressed in Composer versions 2.10.3 and 2.2.30.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for full command execution on the target host, leading to system compromise, data theft, or lateral movement within build environments. The impact is highest in CI/CD pipelines where Composer processes untrusted dependencies, potentially compromising the entire development and deployment lifecycle. Organizations that do not use Perforce but have the <code>p4</code> CLI client installed on developer machines or build agents are also at risk.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade Composer to version 2.10.3 or 2.2.30 or later to ensure proper validation of Perforce source URLs.</li>
<li>If upgrading is not immediately possible, remove the <code>p4</code> binary from the system <code>PATH</code> of all environments running Composer.</li>
<li>Audit custom or third-party Composer repositories to ensure they are trusted and secure.</li>
<li>Treat <code>composer.lock</code> files obtained from external, untrusted sources with extreme caution.</li>
<li>Restrict the use of the <code>--prefer-source</code> flag in untrusted environments.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>supply-chain</category><category>rce</category><category>php</category></item></channel></rss>