CVE-2026-84361

published 1 Sep 2026 · updated 3 Sep 2026

Composer: Perforce source URL permits P4PORT `rsh:` command execution

7.7HighCVSS 7.7EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

Composer is a dependency Manager for the PHP language. From 1.0 until 2.2.30 and 2.10.3, a malicious dependency package from a custom Composer repository or an untrusted composer.lock file could set source.type to perforce and source.url to an rsh: or jsh: P4PORT value. When the Perforce p4 client was installed and Composer installed the package from source through composer install or composer update, including --prefer-source, Composer\Util\Perforce passed the address to p4 without validation, causing p4 to run a local command with the privileges of the user or CI account. Packagist.org does not permit Perforce source metadata. This issue is fixed in versions 2.2.30 and 2.10.3.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
composer>=1.0 <2.2.30, >=2.3.0 <2.10.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-84361 severity on Zeptric[![CVE-2026-84361](https://zeptric.io/badge/cve/CVE-2026-84361.svg)](https://zeptric.io/cve/CVE-2026-84361)