CVE-2026-84361: composer OS Command Injection
Vulnerability summary
CVE-2026-84361 is a high (CVSS 7.7) OS Command Injection vulnerability in composer. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 44.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 1Timeline
- 01-09-2026PublishedVulnerability first disclosed.
- 03-09-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.7HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated7.7HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST7.7HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.55%
Chance of exploitation in the next 30 days
Percentile
45%
Versus all other CVEs
30-day change
+0.14 pp
From 0.41% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse5 products
- php-composer2&distro=SUSE Linux Enterprise Module for Web and Scripting 15 SP7< 2.6.4-150600.3.18.1
- php-composer2&distro=SUSE Linux Enterprise Server 15 SP6-LTSS< 2.6.4-150600.3.18.1
- php-composer2&distro=SUSE Linux Enterprise Server 16.0< 2.8.9-160000.5.1
- php-composer2&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP6< 2.6.4-150600.3.18.1
- php-composer2&distro=SUSE Linux Enterprise Server for SAP applications 16.0< 2.8.9-160000.5.1
Opensuse2 products
- php-composer2&distro=openSUSE Leap 16.0< 2.8.9-160000.5.1
- php-composer2&distro=openSUSE Tumbleweed< 2.10.3-2.1
Composer1 product
- composer≥ 1.0, < 2.2.30 | ≥ 2.3.0, < 2.10.3
Debian1 product
- composerAll versions (No fix recorded) | < 2.10.3-1
Ubuntu1 product
- composerAll versions (No fix recorded)
5 vendors · 10 products
References
12 links- github.com/composer/composer/security/advisories/GHSA-rvx4-ffvw-m9q3X Refsource CONFIRM
- github.com/composer/composer/releases/tag/2.10.3X Refsource MISC
- github.com/composer/composer/releases/tag/2.2.30X Refsource MISC