CISA list

● Composer package

composer/composer

Composer/composer has 17 security advisories. The newest release any of them names as the fix is 2.10.3.

As of , composer/composer has 17 security advisories. The newest release any of them names as the fix is 2.10.3.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 2.3.0-rc1 before 2.10.32.10.314 advisories
Before 2.2.302.2.3017 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-59944GHSA-96h3-5x6v-m776Composer: GHSA-gjfg-22fp-rrxx fix bypass via symlinked package bin pathModerate severityFrom 2.3.0 before 2.10.3; From 1.0 before 2.2.302.2.30, 2.10.3
CVE-2026-84361GHSA-rvx4-ffvw-m9q3Composer arbitrary command execution via a malicious package's Perforce source URLHigh severityFrom 2.3.0 before 2.10.3; From 1.0 before 2.2.302.2.30, 2.10.3
CVE-2026-59946GHSA-gjfg-22fp-rrxxComposer: Path traversal in package bin field lets dependencies chmod arbitrary host filesModerate severityFrom 2.3.0 before 2.10.2; From 1.0.0 before 2.2.292.2.29, 2.10.2
CVE-2026-59947GHSA-g6xq-892h-64w3Composer: URL-embedded HTTP-Basic username leaks to verbose logs (GitHub PAT exposure)Moderate severityFrom 2.3.0 before 2.10.2; From 1.0.0 before 2.2.292.2.29, 2.10.2
CVE-2026-59948GHSA-499r-g7pc-vmp9Composer: Arbitrary file write outside vendor via malicious transitive package nameHigh severityFrom 2.3.0 before 2.10.2; From 1.0.0 before 2.2.292.2.29, 2.10.2
CVE-2026-45793GHSA-f9f8-rm49-7jv2Github Actions issued GITHUB_TOKEN disclosure in GitHub Actions logsHigh severityFrom 2.3.0 before 2.9.8; From 2.0.0 before 2.2.28; From 1.0 before 1.10.281.10.28, 2.2.28, 2.9.8
CVE-2026-40261GHSA-gqw4-4w2p-838qComposer has a command injection via malicious perforce referenceHigh severityFrom 2.3.0 before 2.9.6; From 1.0.0 before 2.2.272.2.27, 2.9.6
CVE-2026-40176GHSA-wg36-wvj6-r67pComposer has a command injection via malicious perforce repositoryHigh severityFrom 2.3.0 before 2.9.6; From 1.0.0 before 2.2.272.2.27, 2.9.6
CVE-2025-67746GHSA-59pp-r3rg-353gComposer is vulnerable to ANSI sequence injectionLow severityFrom 2.3.0 before 2.9.3; From 2.0.0 before 2.2.262.2.26, 2.9.3
CVE-2024-35241GHSA-47f6-5gq3-vx9cComposer has a command injection via malicious git branch nameHigh severityFrom 2.3 before 2.7.7; From 2.0 before 2.2.242.2.24, 2.7.7
CVE-2024-35242GHSA-v9qv-c7wm-wgmfComposer has multiple command injections via malicious git/hg branch namesHigh severityFrom 2.3 before 2.7.7; From 2.0 before 2.2.242.2.24, 2.7.7
CVE-2024-24821GHSA-7c6p-848j-wh5hComposer code execution and possible privilege escalation via compromised InstalledVersions.php or installed.phpHigh severityFrom 2.3.0-rc1 before 2.7.0; From 2.0.0-alpha1 before 2.2.232.2.23, 2.7.0
CVE-2023-43655GHSA-jm6m-4632-36hfComposer Remote Code Execution vulnerability via web-accessible composer.pharHigh severityFrom 2.3.0 before 2.6.4; From 2.0.0 before 2.2.22; Before 1.10.271.10.27, 2.2.22, 2.6.4
CVE-2022-24828GHSA-x7cr-6qr6-2hh6Missing input validation can lead to command execution in composerHigh severityFrom 2.3 before 2.3.5; From 2.0 before 2.2.12; Before 1.10.261.10.26, 2.2.12, 2.3.5
CVE-2021-41116GHSA-frqg-7g38-6gcfImproper escaping of command arguments on Windows leading to command injectionHigh severityFrom 2.0.0-alpha1 before 2.1.9; Before 1.10.231.10.23, 2.1.9
CVE-2021-29472GHSA-h5h8-pc6h-jvvxComposer's missing argument delimiter can lead to code execution via VCS repository URLs or source download URLs on systems with MercurialHigh severityFrom 2.0.0-alpha1 before 2.0.13; Before 1.10.221.10.22, 2.0.13
CVE-2015-8371GHSA-725m-w832-q973Composer allows cache poisoning from other projects built on the same hostHigh severityBefore 1.0.01.0.0

Other Composer packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0