CVE-2026-59944
Fixed in a distro release EPSS <1%CVSS 6.1
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.
Products: composer
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Packagist | composer/composer | 2.10.3 |
| Packagist | composer/composer | 2.2.30 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | composer | no fix |
| Debian 13 | composer | no fix |
| Debian 14 | composer | 2.10.3-1 |
| Red Hat hummingbird 1 | composer | 0:2.10.3-1.hum1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | php-composer2 | 2.2.30-150400.3.21.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | php-composer2 | 2.2.30-150400.3.21.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | php-composer2 | 2.2.30-150400.3.21.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | php-composer2 | 2.2.30-150400.3.21.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP7 | php-composer2 | 2.6.4-150600.3.23.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | php-composer2 | 2.2.30-150400.3.21.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | php-composer2 | 2.2.30-150400.3.21.1 |
| SUSE Linux Enterprise Server 16.0 | php-composer2 | 2.8.9-160000.6.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | php-composer2 | 2.2.30-150400.3.21.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | php-composer2 | 2.2.30-150400.3.21.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | php-composer2 | 2.8.9-160000.6.1 |
| Ubuntu 26.04 LTS | composer | no fix |
| Ubuntu 26.10 | composer | no fix |
| Ubuntu Pro 16.04 LTS | composer | no fix |
| Ubuntu Pro 18.04 LTS | composer | no fix |
| Ubuntu Pro 20.04 LTS | composer | no fix |
| Ubuntu Pro 22.04 LTS | composer | no fix |
| Ubuntu Pro 24.04 LTS | composer | no fix |
| openSUSE Leap 16.0 | php-composer2 | 2.8.9-160000.6.1 |
| openSUSE Tumbleweed | php-composer2 | 2.10.3-1.1 |