ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2026-1941

Amazon Linux 2023 - ALAS2023-2026-1941: Important priority package update for composer

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-59948: 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.

CVE-2026-59947: Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, when Composer is run with -vvv debug verbosity, it could print a credential embedded in the username slot of a repository or package URL, such as a GitHub Personal Access Token in https://TOKEN@host/, to debug output because AuthHelper, Url::sanitize, and ProcessExecutor did not sanitize username-only URL credentials. This issue is fixed in versions 2.2.29 and 2.10.2.

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.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023composer
All versions before 2.10.2-1.amzn2023.0.1 (fixed in 2.10.2-1.amzn2023.0.1)

References