Skip to main content

Composer 2.11.3

Release Date: November 24, 2026

Composer 2.11.3 was released on November 24, 2026, ten days after 2.11.2. This is a security maintenance release. It fixes three vulnerabilities, one of which is a bypass of the CVE-2024-24821 fix, and it also carries a set of reliability fixes collected since the previous tag. Publishing this release is recommended for all users of the 2.11 branch.

Overview

Version 2.11.3 addresses the following areas: arbitrary code execution through prepared project directories (GHSA-374h-4mh9-7rpm), console markup injection through package metadata (#13292), and credential disclosure in download error messages (#13266). It additionally corrects the behaviour of the audit command's advisory policy, plugin autoloading, the outdated cooldown check, and status reporting for path repositories.

Security Fixes

  • Arbitrary code execution (GHSA-374h-4mh9-7rpm). Running Composer in a directory whose composer.json and vendor directory were prepared by an attacker no longer executes code. This closes a bypass of the fix shipped for CVE-2024-24821.
  • Console markup injection (#13292). Package metadata such as descriptions, support links, and license names is no longer rendered as console markup. Beyond display spoofing, an invalid style tag in that metadata could make show, licenses, audit, or even install and update fail.
  • Credential disclosure (#13266). Credentials embedded in repository URLs no longer appear in download error messages on systems where curl is unavailable.

Reliability and Performance

Security advisory filtering and package loading for repositories that do not contain any of the requested packages are both faster (#13264, #13226). Plugin autoloading no longer emits "Could not scan for classes" warnings or a fatal error when a plugin requires the root package and some dependencies use a custom installer that has not been loaded yet (#13259).

Behaviour Fixes

  • audit now honours the policy.advisories.audit setting: advisories are skipped when it is set to ignore, and only fail the run when it is set to fail (#13269).
  • outdated no longer suggests a less stable version, such as a dev branch, while the installed version is still inside its cooldown period (#13265).
  • status no longer reports unmodified path repository packages as changed (#13154).
  • Warnings are no longer emitted when the GitHub API returns a file without an encoding field, for example a symlink or submodule (#13284).

Upgrade

Update with composer self-update, or install a pinned release with composer self-update 2.11.3. CI images that bundle Composer should be rebuilt, since the security fixes only apply once the phar itself is replaced. Projects that pin the phar by checksum need the new signature from the download page.

The two preceding releases in this branch, 2.11.2 and 2.11.3, were both security releases. Teams that have not yet applied 2.11.2 should treat 2.11.3 as the minimum version, as it includes the earlier fixes.

Other Versions

We use cookies for ads and analytics.