CVE Catalog

CVE-2026-59946

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

3th percentile - higher than 3% of all known CVEs

Summary

A vulnerability in the Composer dependency manager for PHP allows changing permissions of an existing host file to world-readable and world-executable. The issue occurs during package install, update, or require when a package bin entry contains '..' path segments.

Risk Assessment

An attacker could exploit this to modify permissions of critical system files, potentially leading to privilege escalation or data confidentiality breaches.

Recommendation

Immediately update Composer to version 2.2.29 or 2.10.2, depending on the branch in use.

Other vulnerabilities in Composer

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS