Skip to content
OpenAdvisories
High SUSE-SU-2026:4589-1 3 CVEs

Security update for php-composer2

Published Oct 8, 2026 · Updated Oct 9, 2026

Summary

This update for php-composer2 fixes the following issues:

- CVE-2026-59946: package bin entries with path segments can cause unintended host file permission modifications
(bsc#1271152).
- CVE-2026-59947: unsanitized URL credential handling in debug output within Composer can allow sensitive token
disclosure (bsc#1271130).
- CVE-2026-59948: missing package name validation during dependency resolution in Composer can allow path traversal
(bsc#1271123).

Fixed packages 8

ReleasePackageFixed in
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-ESPOS php-composer2 2.2.30-150400.3.24.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-LTSS php-composer2 2.2.30-150400.3.24.1
SUSE · SLE HPC 15 SP5 Linux Enterprise High Performance Computing 15 SP5-ESPOS php-composer2 2.2.30-150400.3.24.1
SUSE · SLE HPC 15 SP5 Linux Enterprise High Performance Computing 15 SP5-LTSS php-composer2 2.2.30-150400.3.24.1
SUSE · SLES 15 SP4 Linux Enterprise Server 15 SP4-LTSS php-composer2 2.2.30-150400.3.24.1
SUSE · SLES 15 SP5 Linux Enterprise Server 15 SP5-LTSS php-composer2 2.2.30-150400.3.24.1
SUSE · SLES for SAP 15 SP4 Linux Enterprise Server for SAP Applications 15 SP4 php-composer2 2.2.30-150400.3.24.1
SUSE · SLES for SAP 15 SP5 Linux Enterprise Server for SAP Applications 15 SP5 php-composer2 2.2.30-150400.3.24.1

Vulnerabilities 3

  • High 7.0

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

    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 vendo…

  • Medium 6.1

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

    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 ho…

  • Medium 4.7

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

    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…

References

  • report
    https://bugzilla.suse.com/1271122
  • report
    https://bugzilla.suse.com/1271123
  • report
    https://bugzilla.suse.com/1271129
  • report
    https://bugzilla.suse.com/1271130
  • report
    https://bugzilla.suse.com/1271151
  • report
    https://bugzilla.suse.com/1271152
  • web
    https://www.suse.com/security/cve/CVE-2026-59946
  • web
    https://www.suse.com/security/cve/CVE-2026-59947
  • web
    https://www.suse.com/security/cve/CVE-2026-59948