CVE Explorer
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 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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4e286a6d7f8a616b21f6e01f27a70b37071dcbc781242d7cce82494e3ff9c8ed · sha256:3b78a502a46f7c95… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-732","description":"CWE-732: Incorrect Permission Assignment for Critical Resource","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4e286a6d7f8a616b21f6e01f27a70b37071dcbc781242d7cce82494e3ff9c8ed · sha256:3b78a502a46f7c95… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"composer","vendor":"composer","versions":[{"status":"affected","version":">= 1.0, < 2.2.29"},{"status":"affected","version":">= 2.3.0, < 2.10.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:4e286a6d7f8a616b21f6e01f27a70b37071dcbc781242d7cce82494e3ff9c8ed · sha256:3b78a502a46f7c95… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:4e286a6d7f8a616b21f6e01f27a70b37071dcbc781242d7cce82494e3ff9c8ed · sha256:3b78a502a46f7c95… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4e286a6d7f8a616b21f6e01f27a70b37071dcbc781242d7cce82494e3ff9c8ed · sha256:3b78a502a46f7c95… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-732","description":"CWE-732: Incorrect Permission Assignment for Critical Resource","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4e286a6d7f8a616b21f6e01f27a70b37071dcbc781242d7cce82494e3ff9c8ed · sha256:3b78a502a46f7c95… · /containers/cna/problemTypes/1/descriptions/0
Source references
5 source assertions{"name":"https://github.com/composer/composer/commit/502c6c4f699802d9cf464728b3e8a95674f919a0","tags":["x_refsource_MISC"],"url":"https://github.com/composer/composer/commit/502c6c4f699802d9cf464728b3e8a95674f919a0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4e286a6d7f8a616b21f6e01f27a70b37071dcbc781242d7cce82494e3ff9c8ed · sha256:3b78a502a46f7c95… · /containers/cna/references/1
{"name":"https://github.com/composer/composer/commit/c50b1efd13ebd73f6dca19b31424c5a02bf93cc1","tags":["x_refsource_MISC"],"url":"https://github.com/composer/composer/commit/c50b1efd13ebd73f6dca19b31424c5a02bf93cc1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4e286a6d7f8a616b21f6e01f27a70b37071dcbc781242d7cce82494e3ff9c8ed · sha256:3b78a502a46f7c95… · /containers/cna/references/2
{"name":"https://github.com/composer/composer/releases/tag/2.10.2","tags":["x_refsource_MISC"],"url":"https://github.com/composer/composer/releases/tag/2.10.2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4e286a6d7f8a616b21f6e01f27a70b37071dcbc781242d7cce82494e3ff9c8ed · sha256:3b78a502a46f7c95… · /containers/cna/references/3
{"name":"https://github.com/composer/composer/releases/tag/2.2.29","tags":["x_refsource_MISC"],"url":"https://github.com/composer/composer/releases/tag/2.2.29"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4e286a6d7f8a616b21f6e01f27a70b37071dcbc781242d7cce82494e3ff9c8ed · sha256:3b78a502a46f7c95… · /containers/cna/references/4
{"name":"https://github.com/composer/composer/security/advisories/GHSA-gjfg-22fp-rrxx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/composer/composer/security/advisories/GHSA-gjfg-22fp-rrxx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4e286a6d7f8a616b21f6e01f27a70b37071dcbc781242d7cce82494e3ff9c8ed · sha256:3b78a502a46f7c95… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.