Vulnerability

CVE-2026-84361

highCVSS 4.0 7.7Published 1 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /composer/composer/commit/0aac50528e83ed635cf78833363589746…
  • github.com /composer/composer/commit/199ad81a9cc6a2a5164ad79a8da26b2e1…
  • github.com /composer/composer/releases/tag/2.10.3
  • github.com /composer/composer/releases/tag/2.2.30
  • github.com /composer/composer/security/advisories/GHSA-rvx4-ffvw-m9q3

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning