Version 2.10.1 - 2026-06-04
- Security: Fixed shell escaping when opening an editor (#12903)
- Security: Verify backup phar signature before restoring it when using self-update --rollback (#12918)
- Fixed
source-fallback also disabling fallbacks to dist install when source is the preferred install method (#12888)
- Fixed source -> dist package updates wiping the .git dir without checking for local changes first (#12912)
- Fixed GitHub token prompt happening multiple times on parallel auth failures (#12913)
- Fixed warnings from Composer repositories being printed twice in some cases (#12907)
Version 2.10.0
Read the Composer 2.10 Release Announcement for more details on the release highlights.
Full Changelog
- BC Break / Security: Disabled automatic fallback to source checkout if dist/zip install fails, we have introduced a new source-fallback config option as a temporary way to restore the old behavior, but if you need this talk to us as we plan to remove it entirely in 2.11 (#12885)
- BC Break: Minor break for audit consumers, the exit code is now always 0 (success) or 1 if anything failed the audit (#12881)
- Security: Added dependency policies to block package versions where malware was detected on update/install or report it with audit (#12786)
- Security: Hardened output filtering of URLs to reduce chances of token leaks (#12882, #12886)
- Security: Fixed handling of uppercase schemes in URL validation that might have allowed https requirement bypass (#12884)
- Security: Fixed git credentials remaining in git mirror .git/config after clone or update failed (2bcbfc3)
- Security: Fixed usage of insecure 3DES ciphers when ext-curl is missing (5e71d77)
- Security: Enforce allow-plugins even in non-interactive mode for very old pre-2.2 lock files (#12764)
- Added support for temporary --with constraints with wildcards in the package name for the update command (#12658)
- Added…