{
  "id": "CVE-2026-84361",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-84361",
  "published_at": "2026-09-01T20:06:48.375Z",
  "title": "Composer: Perforce source URL permits P4PORT `rsh:` command execution",
  "vendor": "composer",
  "product": "composer",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-09-02T05:07:54Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 0.4,
    "repo": "Saku0512/CVE-2026-84361-poc",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 7.7
  },
  "repos": [
    {
      "repo": "Saku0512/CVE-2026-84361-poc",
      "url": "https://github.com/Saku0512/CVE-2026-84361-poc",
      "created_at": "2026-09-02T05:07:54Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2023-05-16T07:34:21Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "composer",
        "product": "composer",
        "ranges": [
          "\u003e= 1.0, \u003c 2.2.30",
          "\u003e= 2.3.0, \u003c 2.10.3"
        ],
        "fixed_in": [
          "2.2.30",
          "2.10.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade composer to 2.2.30 or 2.10.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/composer/composer/security/advisories/GHSA-rvx4-ffvw-m9q3"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/composer/composer/commit/0aac50528e83ed635cf788333635897469440220"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/composer/composer/commit/199ad81a9cc6a2a5164ad79a8da26b2e19e521af"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/composer/composer/releases/tag/2.10.3"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/composer/composer/releases/tag/2.2.30"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
