{"id":"DEBIAN-CVE-2026-59948","details":"Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, a maliciously crafted package from an untrusted repository other than Packagist.org or Private Packagist can cause Composer to write attacker-controlled files outside the vendor directory and outside the project during install or update by using an invalid package name that is not correctly validated before dependency-resolution results are written or installed. This issue is fixed in versions 2.2.29 and 2.10.2.","modified":"2026-09-01T16:06:53.354118483Z","published":"2026-07-08T20:16:59.980Z","upstream":["CVE-2026-59948"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-59948"}],"affected":[{"package":{"name":"composer","ecosystem":"Debian:12","purl":"pkg:deb/debian/composer?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.0-1","2.10.0~rc1-1","2.10.0~rc1-2","2.10.0~rc1-3","2.10.0~rc2-1","2.10.1-1","2.10.1-2","2.10.2-1","2.10.3-1","2.5.5-1","2.5.5-1+deb12u1","2.5.5-1+deb12u2","2.5.5-1+deb12u3","2.5.5-1+deb12u4","2.5.5-1+deb12u5","2.5.6-1","2.5.7-1","2.5.8-1","2.6.2-1","2.6.3-1","2.6.4-1","2.6.5-1","2.6.6-1","2.7.1-1","2.7.1-2","2.7.2-1","2.7.4-1","2.7.6-1","2.7.6-2","2.7.6-3","2.7.7-1","2.7.7-2","2.7.8-1","2.7.9-1","2.8.0-1","2.8.1-1","2.8.10-1","2.8.11-1","2.8.11-2","2.8.12-1","2.8.2-1","2.8.3-1","2.8.4-1","2.8.4-2","2.8.4-3","2.8.5-1","2.8.6-1","2.8.8-1","2.8.9-1","2.9.0~rc1-1","2.9.1-1","2.9.2-1","2.9.3-1","2.9.4-1","2.9.5-1","2.9.7-1","2.9.8-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-59948.json"}},{"package":{"name":"composer","ecosystem":"Debian:13","purl":"pkg:deb/debian/composer?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.0-1","2.10.0~rc1-1","2.10.0~rc1-2","2.10.0~rc1-3","2.10.0~rc2-1","2.10.1-1","2.10.1-2","2.10.2-1","2.10.3-1","2.8.10-1","2.8.11-1","2.8.11-2","2.8.12-1","2.8.8-1","2.8.8-1+deb13u1","2.8.8-1+deb13u2","2.8.8-1+deb13u3","2.8.9-1","2.9.0~rc1-1","2.9.1-1","2.9.2-1","2.9.3-1","2.9.4-1","2.9.5-1","2.9.7-1","2.9.8-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-59948.json"}},{"package":{"name":"composer","ecosystem":"Debian:14","purl":"pkg:deb/debian/composer?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.2-1"}]}],"versions":["2.10.0-1","2.10.0~rc1-1","2.10.0~rc1-2","2.10.0~rc1-3","2.10.0~rc2-1","2.10.1-1","2.10.1-2","2.8.10-1","2.8.11-1","2.8.11-2","2.8.12-1","2.8.8-1","2.8.9-1","2.9.0~rc1-1","2.9.1-1","2.9.2-1","2.9.3-1","2.9.4-1","2.9.5-1","2.9.7-1","2.9.8-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-59948.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}