CVE-2026-59946: Composer · Path traversal in package bin field lets dependencies chmod arbitrary host files
Affects composerSource GCVE Database
Not known to be exploited : upgrade to 2.10.2 or 2.2.29 when convenient.
Data as of 26 Oct 2026, 14:05 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.10.2, 2.2.29
Exploitation evidence
Disclosed: evidence found.
CVE published 14 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade composer to 2.10.2 or 2.2.29.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamicomposerpkg:bitnami/composerOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- github.com/composer/composer/commit/502c6c4f699802d9cf464728b3e8a95674f919a0 (opens in a new tab)
- github.com/composer/composer/commit/c50b1efd13ebd73f6dca19b31424c5a02bf93cc1 (opens in a new tab)
- github.com/composer/composer/releases/tag/2.10.2 (opens in a new tab)
- github.com/composer/composer/releases/tag/2.2.29 (opens in a new tab)
- github.com/composer/composer/security/advisories/GHSA-gjfg-22fp-rrxx (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-59946 (opens in a new tab)