CVE-2026-84361 — Vulnerability in composer/composer — CVE Details
Composer arbitrary command execution via a malicious package's Perforce source URL
Summary
Advisory Timeline
- First published September 8, 2026 (33 days ago).
- Last revised September 8, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "composer/composer:^2.2.30"
composer require "composer/composer:^2.10.3"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: packagist (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| composer/composer | packagist | 1.0.0, 1.0.0-alpha1, 1.0.0-alpha10, 1.0.0-alpha11 (+159 more) | 2.2.30 |
| composer/composer | packagist | 2.10.0, 2.10.0-RC1, 2.10.0-RC2, 2.10.1 (+67 more) | 2.10.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-78OS Command InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.4 score means for each attack dimension.
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
References
- https://github.com/composer/composer/security/advisories/GHSA-rvx4-ffvw-m9q3WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-84361ADVISORY
- https://github.com/composer/composer/commit/0aac50528e83ed635cf788333635897469440220WEB
- https://github.com/composer/composer/commit/199ad81a9cc6a2a5164ad79a8da26b2e19e521afWEB
- https://github.com/composer/composerPACKAGE
- https://github.com/composer/composer/releases/tag/2.10.3WEB
- https://github.com/composer/composer/releases/tag/2.2.30WEB
Frequently Asked Questions
- What is CVE-2026-84361?
- Composer arbitrary command execution via a malicious package's Perforce source URL This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.4/10).
- How do I check if my project is affected by CVE-2026-84361?
- CVE-2026-84361 affects composer/composer. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-84361 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2024-35241HIGH
Composer has a command injection via malicious git branch name
- CVE-2026-40261HIGH
Composer has a command injection via malicious perforce reference
- CVE-2026-65954HIGH
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
- CVE-2024-35242HIGH
Composer has multiple command injections via malicious git/hg branch names
- CVE-2026-61825HIGH
code16/sharp has a stored XSS via data-html-content Sanitizer Bypass
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies