CVE-2026-59946
Composer: Path traversal in package bin field lets dependencies chmod arbitrary host files
6.1
MEDIUM
CVSS 3.1
EPSS 0.14%
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.
How to fix CVE-2026-59946
To remediate CVE-2026-59946, upgrade the affected package to a fixed version below.
- —upgrade to 2.10.2 or later
Is CVE-2026-59946 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 2.3.0, < 2.10.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |