Path Traversal in Composer
CVE-2026-59946
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…
Vulnerability class: Path Traversal (Directory Traversal)
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N.
Affected products
- Composer — versions >= 1.0, < 2.2.29, >= 2.3.0, < 2.10.2
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-59946?
- CVE-2026-59946 is a medium-severity vulnerability in Composer, classified under Path Traversal. CVSS score: 6.1/10. Published 2026-07-08.
- How severe is CVE-2026-59946?
- Medium severity. CVSS v3 base score is 6.1 out of 10.