CVE catalog

CVE-2026-59944

composer: CVE-2026-59944

[CVE catalog]

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

Composer is a dependency Manager for the PHP language. From 1.0 until 2.2.30 and from 2.3.0 until 2.10.3, a malicious or compromised dependency can bypass the earlier CVE-2026-59946 binary-path hardening because Composer validates literal parent-directory segments only during dependency resolution, while the symlink and installed-metadata paths described by the advisory skip that validation. A package can ship an in-package binary symlink that resolves outside its installation directory, or attacker-influenced vendor/composer/installed.json metadata can provide an escaping binary path during a reinstall or regeneration of missing vendor/bin entries. The installed-metadata path is reachable only when the vendor directory was not populated by the same validated install run, such as when it is restored from an untrusted cache, copied from an earlier build stage, carried over from an older Composer run, or writable by a lower-trust build step. Composer can follow the path, change the external target's permissions to make it world-readable and executable, and create a runnable vendor/bin proxy to that external file. The issue does not directly read or transmit data and does not by itself provide remote code execution. This issue is fixed in versions 2.2.30 and 2.10.3.

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
Composercomposer/composerNot reported2.2.30fixed
Opensusephp-composer2tumbleweed2.10.3-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancomposersourcesid2.10.3-1not yet assignedNot reportedNot reported
Debiancomposersourceforky2.10.3-1not yet assignedNot reportedNot reported
Debiancomposersourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debiancomposersourcebookworm(unfixed)not yet assignedNot reportedNot reported
Composercomposer/composercomposerNot reported2.2.30Not reportedGHSA-96H3-5X6V-M776Not reported
Opensusephp-composer2rpmtumbleweed2.10.3-1.1Not reportedOPENSUSE-SU-2026:11633-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

      dsa · composer · debian · bookworm; dsa · composer · debian · 12

    • 2.5.5-1+deb12u5 · all · bookworm

      Affected

      dsa · composer · debian · bookworm; dsa · composer · debian · 12

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

      Affected

      dsa · composer · debian · bookworm; dsa · composer · debian · 12

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

      Affected

      dsa · composer · debian · bookworm; dsa · composer · debian · 12

[Debian 13 (Trixie)]

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

      Affected

      dsa · composer · debian · 13

    • 2.8.8-1+deb13u3 · all · trixie

      Affected

      dsa · composer · debian · 13

[openSUSE Tumbleweed]

  • Source package: [php-composer2]

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

      Fixed · Fixed: 2.10.3-1.1

      dsa · php-composer2 · opensuse · tumbleweed

Observed:

References