VDB

CVE-2026-84361

CVE-2026-84361 PUBLISHED CVSS 7.7 HIGH

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

Reported by github_m · Published September 1, 2026

composer/composer is fixed in 2.10.3 and 2.2.30 (Packagist)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
composer/composerPackagist2.10.3, 2.2.30

Risk scores

CVSS 4.0
7.7
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
composercomposer>= 1.0, < 2.2.30, >= 2.3.0, < 2.10.3
composercomposer1.0.0, 2.3.0
composercomposer1.0, 2.3.0
alpinecomposer0
amazon:2023composer0

Timeline

  • Sep 1, 2026 CVE Published
  • Sep 2, 2026 EPSS Score (28 in total, the first dated here)
  • Oct 30, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-84361
vulnetix vdb fixes CVE-2026-84361

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-84361/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›