# CVE-2026-59948: composer: Composer is a dependency Manager for the PHP language

CVE-2026-59948 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2026-59948, released July 9, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-59948
- Priority: High
- CVSS: 7.0 (high)
- EPSS: 0.0014
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 8, 2026

## Description

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 vendor directory and outside the project during install or update by using an invalid package name that is not correctly validated before dependency-resolution results are written or installed. This issue is fixed in versions 2.2.29 and 2.10.2.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | composer Debian 14 | 2.10.2-1 | [DEBIAN-CVE-2026-59948](https://patchblox.com/security/data/fix/linux/debian-cve-2026-59948.md) | Jul 9, 2026 |
| Linux | composer amzn 2023 | 2.10.2-1.amzn2023.0.1 | [ALAS2023-2026-1941](https://patchblox.com/security/data/fix/linux/alas2023-2026-1941.md) | Jul 20, 2026 |
| Linux | php-composer2 opensuse-leap 16.0 | 2.8.9-160000.4.1 | [OPENSUSE-SU-2026:21520-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21520-1.md) | Aug 3, 2026 |
| Linux | php-composer2 sles 15.6 | 2.6.4-150600.3.12.1 | [SUSE-SU-2026:3105-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3105-1.md) | Jul 17, 2026 |
| Linux | php-composer2 sles 15.7 | 2.6.4-150600.3.12.1 | [SUSE-SU-2026:3105-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3105-1.md) | Jul 17, 2026 |
| Linux | php-composer2 sles 16.0 | 2.8.9-160000.4.1 | [SUSE-SU-2026:23138-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-23138-1.md) | Aug 3, 2026 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
