ADVISORIES

Vulnerability

CVE-2026-59946

Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, a Composer package bin entry containing .. path segments can resolve outside the package install directory and cause Composer's binary installation flow to chmod an existing host file to a world-readable and world-executable mode during composer install, update, or require. This issue is fixed in versions 2.2.29 and 2.10.2.

12 advisories report this vulnerability, across 7 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-59946

    Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, a Composer package bin entry containing .. path segments can resolve outside the package install directory and cause Composer's binary…

    CVE-2026-59946 Debian Updated 21 November 2026
  • GHSA-gjfg-22fp-rrxx

    Composer: Path traversal in package bin field lets dependencies chmod arbitrary host files

    Moderate CVE-2026-59946 Packagist Updated 20 July 2026
  • RHSA-2026:34854

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

    CVE-2026-59946 Red Hat Updated 6 October 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-59946

    Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, a Composer package bin entry containing .. path segments can resolve outside the package install directory and cause Composer's binary…

    CVE-2026-59946 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