CVE catalog

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

[CVE catalog]

Severity
Medium · CVSS 6.1
Published
Source
[NVD] · [CVE record]
EPSS
0.14% · Oct 25, 2026

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.

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
Opensusephp-composer2tumbleweed2.10.2-1.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
Opensusephp-composer2rpmtumbleweed2.10.2-1.1Not reportedOPENSUSE-SU-2026:11268-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

[openSUSE Tumbleweed]

  • Source package: [php-composer2]

    Details (1)
    • 2.10.3-1.1 · noarch · tumbleweed

      Fixed · Fixed: 2.10.2-1.1

      nvd · php-composer2 · opensuse · tumbleweed

Observed:

References