CVE-2026-59946composer
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
- Jul 8, 2026
- Updated
- Jul 10, 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. 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.
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.2 |
2.10.2 |
composer require "composer/composer:^2.10.2" |
| Packagist | composer/composer |
≥ 1.0.0 < 2.2.29 |
2.2.29 |
composer require "composer/composer:^2.2.29" |
Per OSV / GitHub Advisories (GHSA-gjfg-22fp-rrxx). 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 · SUSE-SU-2026:4589-1 · Oct 8, 2026 High
- Security update for php-composer2 · SUSE · SUSE-SU-2026:4283-1 · Sep 22, 2026 High
- Security update for php-composer2 · SUSE · openSUSE-SU-2026:21520-1 · Aug 3, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:34854 · Jul 30, 2026 Medium
Also: SUSE (+4)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.