Skip to content
OpenAdvisories
High · 7.7 Public exploit CVE-2026-84361 BIT-composer-2026-84361EUVD-2026-69608GHSA-rvx4-ffvw-m9q3

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

Published Sep 1, 2026 · Updated Sep 3, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
composer composer >= 1.0, < 2.2.30, >= 2.3.0, < 2.10.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 composer 2.10.3-1 —
Debian 13 composer No fix yet —
Debian 12 composer No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 composer No fix yet —
Ubuntu 26.04 LTS composer No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS composer No fix yet —
Ubuntu Pro 22.04 LTS composer No fix yet —
Ubuntu Pro 20.04 LTS composer No fix yet —
Ubuntu Pro 18.04 LTS composer No fix yet —
Ubuntu Pro 16.04 LTS composer No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 composer 2.10.3-1.hum1 RHSA-2026:63151
ReleasePackageFixed inAdvisory
SLES 15 SP7 php-composer2 2.6.4-150600.3.18.1 SUSE-SU-2026:4059-1
SLES 15 SP6 php-composer2 2.6.4-150600.3.18.1 SUSE-SU-2026:4059-1
SLES 15 SP5 php-composer2 2.2.30-150400.3.21.1 SUSE-SU-2026:4283-1
SLES 15 SP4 php-composer2 2.2.30-150400.3.21.1 SUSE-SU-2026:4283-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 php-composer2 2.8.9-160000.5.1 SUSE-SU-2026:23635-1
SLES for SAP 15 SP6 php-composer2 2.6.4-150600.3.18.1 SUSE-SU-2026:4059-1
SLES for SAP 15 SP5 php-composer2 2.2.30-150400.3.21.1 SUSE-SU-2026:4283-1
SLES for SAP 15 SP4 php-composer2 2.2.30-150400.3.21.1 SUSE-SU-2026:4283-1
SLES 16.0 php-composer2 2.8.9-160000.5.1 SUSE-SU-2026:23635-1
SLE HPC 15 SP5 php-composer2 2.2.30-150400.3.21.1 SUSE-SU-2026:4283-1
SLE HPC 15 SP4 php-composer2 2.2.30-150400.3.21.1 SUSE-SU-2026:4283-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php-composer2 2.10.3-2.1 openSUSE-SU-2026:11689-1
openSUSE Leap 16.0 php-composer2 2.8.9-160000.5.1 openSUSE-SU-2026:21778-1
ReleasePackageFixed inAdvisory
Alpine v3.24 composer 2.10.3-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 composer 2.10.3-1.amzn2023.0.1 ALAS2023-2026-3136

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist composer/composer >= 2.3.0, < 2.10.3 2.10.3 GHSA-rvx4-ffvw-m9q3
Packagist composer/composer >= 1.0, < 2.2.30 2.2.30 GHSA-rvx4-ffvw-m9q3

Advisories 8

References