ADVISORIES

Vulnerability

CVE-2026-59948

Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, a maliciously crafted package from an untrusted repository other than Packagist.org or Private Packagist can cause Composer to write attacker-controlled files outside the vendor directory and outside the project during install or update by using an invalid package name that is not correctly validated before dependency-resolution results are written or installed. This issue is fixed in versions 2.2.29 and 2.10.2.

11 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • ALAS2023-2026-1941

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

    Important CVE-2026-59946CVE-2026-59947CVE-2026-59948 Amazon Linux Updated 20 July 2026
  • DEBIAN-CVE-2026-59948

    Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, a maliciously crafted package from an untrusted repository other than Packagist.org or Private Packagist can cause Composer to write…

    CVE-2026-59948 Debian Updated 21 November 2026
  • GHSA-499r-g7pc-vmp9

    Composer: Arbitrary file write outside vendor via malicious transitive package name

    High CVE-2026-59948 Packagist Updated 20 July 2026
  • SUSE-SU-2026:23116-1

    Security update for php-composer2

    CVE-2025-67746CVE-2026-40176CVE-2026-40261CVE-2026-45793 SUSE Updated 14 August 2026
  • SUSE-SU-2026:23138-1

    Security update for php-composer2

    CVE-2025-67746CVE-2026-40176CVE-2026-40261CVE-2026-45793 SUSE Updated 14 August 2026
  • SUSE-SU-2026:3105-1

    Security update for php-composer2

    CVE-2024-35241CVE-2024-35242CVE-2025-67746CVE-2026-40176 SUSE Updated 18 July 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
  • SUSE-SU-2026:4589-1

    Security update for php-composer2

    CVE-2026-59946CVE-2026-59947CVE-2026-59948 SUSE Updated 9 October 2026
  • UBUNTU-CVE-2026-59948

    Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, a maliciously crafted package from an untrusted repository other than Packagist.org or Private Packagist can cause Composer to write…

    CVE-2026-59948 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:11268-1

    php-composer2-2.10.2-1.1 on GA media

    CVE-2026-59946CVE-2026-59947CVE-2026-59948 openSUSE Updated 15 July 2026
  • openSUSE-SU-2026:21520-1

    Security update for php-composer2

    CVE-2025-67746CVE-2026-40176CVE-2026-40261CVE-2026-45793 openSUSE Updated 4 August 2026

References