ADVISORIES

Vulnerability

CVE-2026-84361

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.

13 advisories report this vulnerability, across 8 ecosystems.

Advisories

  • ALAS2023-2026-3136

    Amazon Linux 2023 - ALAS2023-2026-3136: Important priority package update for composer

    Important CVE-2026-59944CVE-2026-84361 Amazon Linux Updated 28 September 2026
  • ALPINE-CVE-2026-84361

    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…

    CVE-2026-84361 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2026-84361
    CVE-2026-84361 Alpine Updated 18 November 2026
  • DEBIAN-CVE-2026-84361

    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…

    CVE-2026-84361 Debian Updated 21 November 2026
  • GHSA-rvx4-ffvw-m9q3

    Composer arbitrary command execution via a malicious package's Perforce source URL

    High CVE-2026-84361 Packagist Updated 8 September 2026
  • RHSA-2026:63151

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2026-59944CVE-2026-84361 Red Hat Updated 13 November 2026
  • SUSE-SU-2026:23635-1

    Security update for php-composer2

    CVE-2026-84361 SUSE Updated 29 September 2026
  • SUSE-SU-2026:4059-1

    Security update for php-composer2

    CVE-2026-84361 SUSE Updated 13 September 2026
  • SUSE-SU-2026:4283-1

    Security update for php-composer2

    CVE-2026-45793CVE-2026-59944CVE-2026-59946CVE-2026-59947 SUSE Updated 23 September 2026
  • SUSEVEX-CVE-2026-84361

    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…

    Important CVE-2026-84361 SUSE Updated 5 October 2026
  • UBUNTU-CVE-2026-84361

    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…

    CVE-2026-84361 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:11689-1

    php-composer2-2.10.3-2.1 on GA media

    CVE-2026-84361 openSUSE Updated 5 September 2026
  • openSUSE-SU-2026:21778-1

    Security update for php-composer2

    CVE-2026-84361 openSUSE Updated 9 September 2026

References