CVE catalog

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 reposi

[CVE catalog]

Severity
Medium · CVSS 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.12% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancomposersid2.10.3-1fixed
Debiancomposerforky2.10.3-1fixed
Debiancomposertrixie2.8.8-1+deb13u3vulnerable
Debiancomposerbookworm2.5.5-1+deb12u5vulnerable
Debiancomposerbookworm-security2.5.5-1+deb12u2vulnerable
CpecomposerNot reportedNot reportedvulnerable
Composercomposer/composerNot reported2.10.2fixed
Composercomposer/composerNot reported2.2.29fixed
Susephp-composer2linux enterprise high performance computing 15 sp4-espos2.2.30-150400.3.24.1fixed
Susephp-composer2linux enterprise high performance computing 15 sp4-ltss2.2.30-150400.3.24.1fixed
Susephp-composer2linux enterprise high performance computing 15 sp5-espos2.2.30-150400.3.24.1fixed
Susephp-composer2linux enterprise high performance computing 15 sp5-ltss2.2.30-150400.3.24.1fixed
Susephp-composer2linux enterprise server 15 sp4-ltss2.2.30-150400.3.24.1fixed
Susephp-composer2linux enterprise server 15 sp5-ltss2.2.30-150400.3.24.1fixed
Susephp-composer2linux enterprise server for sap applications 15 sp42.2.30-150400.3.24.1fixed
Susephp-composer2linux enterprise server for sap applications 15 sp52.2.30-150400.3.24.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancomposersourcesid2.10.2-1not yet assignedNot reportedNot reported
Debiancomposersourceforky2.10.2-1not yet assignedNot reportedNot reported
Debiancomposersourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debiancomposersourcebookworm(unfixed)not yet assignedNot reportedNot reported
Composercomposer/composercomposerNot reported2.10.2Not reportedNot reportedNot reported
Composercomposer/composercomposerNot reported2.2.29Not reportedNot reportedNot reported
Susephp-composer2rpmlinux enterprise high performance computing 15 sp4-espos2.2.30-150400.3.24.1Not reportedSUSE-SU-2026:4589-1Not reported
Susephp-composer2rpmlinux enterprise high performance computing 15 sp4-ltss2.2.30-150400.3.24.1Not reportedSUSE-SU-2026:4589-1Not reported
Susephp-composer2rpmlinux enterprise high performance computing 15 sp5-espos2.2.30-150400.3.24.1Not reportedSUSE-SU-2026:4589-1Not reported
Susephp-composer2rpmlinux enterprise high performance computing 15 sp5-ltss2.2.30-150400.3.24.1Not reportedSUSE-SU-2026:4589-1Not reported
Susephp-composer2rpmlinux enterprise server 15 sp4-ltss2.2.30-150400.3.24.1Not reportedSUSE-SU-2026:4589-1Not reported
Susephp-composer2rpmlinux enterprise server 15 sp5-ltss2.2.30-150400.3.24.1Not reportedSUSE-SU-2026:4589-1Not reported
Susephp-composer2rpmlinux enterprise server for sap applications 15 sp42.2.30-150400.3.24.1Not reportedSUSE-SU-2026:4589-1Not reported
Susephp-composer2rpmlinux enterprise server for sap applications 15 sp52.2.30-150400.3.24.1Not reportedSUSE-SU-2026:4589-1Not reported

Notes

[trixie] composer: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [composer]Affected
    Details (4)
    • 2.5.5-1+deb12u5 · all · bookworm

      Affected

      nvd · composer · debian · bookworm; nvd · composer · debian · 12

    • 2.5.5-1+deb12u5 · all · bookworm

      Affected

      nvd · composer · debian · bookworm; nvd · composer · debian · 12

    • 2.5.5-1+deb12u2 · all · bookworm-security

      Affected

      nvd · composer · debian · bookworm; nvd · composer · debian · 12

    • 2.5.5-1+deb12u2 · all · bookworm-security

      Affected

      nvd · composer · debian · bookworm; nvd · composer · debian · 12

[Debian 13 (Trixie)]

  • [composer]Affected
    Details (2)
    • 2.8.8-1+deb13u3 · all · trixie

      Affected

      nvd · composer · debian · 13

    • 2.8.8-1+deb13u3 · all · trixie

      Affected

      nvd · composer · debian · 13

Observed:

References