Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Composer versions >=1.0.0 before 2.2.29, and 2.3.0 before 2.10.2, are vulnerable. A malicious or compromised package dependency, including a transitive one, can declare a bin entry with ".." path segments so that Composer changes the file mode of an existing file outside the package directory during install or update. The attacker can make restricted files, such as private keys, world-readable, but cannot read or modify their contents. Upgrade to Composer 2.2.29 or 2.10.2; no configuration workaround is given.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.1 | Medium | 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0014, the 3rd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 1 Jul 2026, 09:31 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:25 UTC First seen by agentprime
- 31 Oct 2026, 14:25 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-gjfg-22fp-rrxx
- OSV: GHSA-gjfg-22fp-rrxx
- github.com/composer/composer/security/advisories/GHSA-gjfg-22fp-rrxx
- nvd.nist.gov/vuln/detail/CVE-2026-59946
- github.com/composer/composer/commit/502c6c4f699802d9cf464728b3e8a95674f919a0
- github.com/composer/composer/commit/c50b1efd13ebd73f6dca19b31424c5a02bf93cc1
- github.com/composer/composer
- github.com/composer/composer/releases/tag/2.10.2
- github.com/composer/composer/releases/tag/2.2.29