CVE-2026-59948: Composer · Arbitrary file write outside vendor via malicious transitive package name
Affects composerSource GCVE Database
Not known to be exploited : upgrade to 2.10.2 or 2.2.29 soon.
Data as of 26 Nov 2026, 14:59 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
Weaponized: 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 Nov 2026.
What to do
Upgrade composer to 2.10.2 or 2.2.29; composer/composer to 2.10.2; composer/composer to 2.2.29.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamicomposerpkg:bitnami/composerOther threats | Affected
| Fixed in
|
Packagistcomposer/composerpkg:composer/composer/composerOther threats | Affected
| Fixed in
|
Packagistcomposer/composerpkg:composer/composer/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.
AI-suggested
Upgrade Composer to version 2.2.29 or later, or 2.10.2 or later, where this vulnerability is fixed. No other mitigations are specified. Patch status is confirmed by the vendor advisory indicating these fixed versions.
Description
Composer versions prior to 2.2.29 and 2.10.2 are vulnerable to an arbitrary file write issue. A malicious package from an untrusted repository can exploit improper validation of package names to write files outside the vendor directory and project during install or update. This vulnerability is fixed in Composer 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-499r-g7pc-vmp9 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-59948 (opens in a new tab)