CVE-2026-59944composer
Medium 6.1
Follow: this CVE · composer · composer We alert you by email or Slack (account required).
- Priority
- 37
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 16, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for composer.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | composer/composer |
≥ 2.3.0 < 2.10.3 |
2.10.3 |
composer require "composer/composer:^2.10.3" |
| Packagist | composer/composer |
≥ 1.0 < 2.2.30 |
2.2.30 |
composer require "composer/composer:^2.2.30" |
Per OSV / GitHub Advisories (GHSA-96h3-5x6v-m776). Check the version in your lockfile before upgrading.
Affected products
- composer · composer
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for php-composer2 · SUSE · openSUSE-SU-2026:21970-1 · Sep 29, 2026 High
- Security update for php-composer2 · SUSE · SUSE-SU-2026:23943-1 · Sep 29, 2026 High
- Security update for php-composer2 · SUSE · SUSE-SU-2026:4288-1 · Sep 22, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:63151 · Sep 4, 2026 High
Also: SUSE (+2)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.