ADVISORIES

Vulnerability

CVE-2026-59947

Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, when Composer is run with -vvv debug verbosity, it could print a credential embedded in the username slot of a repository or package URL, such as a GitHub Personal Access Token in https://TOKEN@host/, to debug output because AuthHelper, Url::sanitize, and ProcessExecutor did not sanitize username-only URL credentials. This issue is fixed in versions 2.2.29 and 2.10.2.

14 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-59947

    Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, when Composer is run with -vvv debug verbosity, it could print a credential embedded in the username slot of a repository or package…

    CVE-2026-59947 Debian Updated 21 November 2026
  • GHSA-g6xq-892h-64w3

    Composer: URL-embedded HTTP-Basic username leaks to verbose logs (GitHub PAT exposure)

    Moderate CVE-2026-59947 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:23943-1

    Security update for php-composer2

    CVE-2026-45793CVE-2026-59944CVE-2026-59947 SUSE Updated 2 October 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:4288-1

    Security update for php-composer2

    CVE-2026-45793CVE-2026-59944CVE-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-59947

    Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, when Composer is run with -vvv debug verbosity, it could print a credential embedded in the username slot of a repository or package…

    CVE-2026-59947 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
  • openSUSE-SU-2026:21970-1

    Security update for php-composer2

    CVE-2026-45793CVE-2026-59944CVE-2026-59947 openSUSE Updated 1 October 2026

References