{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-84361",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-09-01T16:27:58.128Z",
        "datePublished": "2026-09-01T20:06:48.375Z",
        "dateUpdated": "2026-09-03T03:56:08.149Z"
    },
    "containers": {
        "cna": {
            "title": "Composer: Perforce source URL permits P4PORT `rsh:` command execution",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-78",
                            "lang": "en",
                            "description": "CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "NONE",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 7.7,
                        "baseSeverity": "HIGH",
                        "vectorString": "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",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/composer/composer/security/advisories/GHSA-rvx4-ffvw-m9q3",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/composer/composer/security/advisories/GHSA-rvx4-ffvw-m9q3"
                },
                {
                    "name": "https://github.com/composer/composer/commit/0aac50528e83ed635cf788333635897469440220",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/composer/composer/commit/0aac50528e83ed635cf788333635897469440220"
                },
                {
                    "name": "https://github.com/composer/composer/commit/199ad81a9cc6a2a5164ad79a8da26b2e19e521af",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/composer/composer/commit/199ad81a9cc6a2a5164ad79a8da26b2e19e521af"
                },
                {
                    "name": "https://github.com/composer/composer/releases/tag/2.10.3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/composer/composer/releases/tag/2.10.3"
                },
                {
                    "name": "https://github.com/composer/composer/releases/tag/2.2.30",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/composer/composer/releases/tag/2.2.30"
                }
            ],
            "affected": [
                {
                    "vendor": "composer",
                    "product": "composer",
                    "versions": [
                        {
                            "version": ">= 1.0, < 2.2.30",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.3.0, < 2.10.3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-09-01T20:06:48.375Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-rvx4-ffvw-m9q3",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-09-02T00:00:00+00:00",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3",
                                "id": "CVE-2026-84361"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-09-03T03:56:08.149Z"
                }
            }
        ]
    }
}