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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-78"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84361.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.0"
},
{
"fixed": "2.2.30"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.10.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "0aac50528e83ed635cf788333635897469440220"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "199ad81a9cc6a2a5164ad79a8da26b2e19e521af"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "2.10.3",
"range": [
{
"fixed": "f0de0bf90226853b841672f086d8b58b02332504"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "2.2.30",
"range": [
{
"fixed": "dcf399dbf5a5d05b54169fe2caf018152edba181"
}
],
"source": "REFERENCES_TAG"
}
]
}