Approved changes feed: RSS · Atom

cpe:2.3:a:composer:composer:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorComposer (4426a153-3acd-58d1-a65e-e92269f84635)
ProductComposer (1d71ec9b-fe8b-5a98-8f40-cc9be20d1613)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-59948 vulnerable 2026-07-29 01:03:18.060342 Composer: Arbitrary file write outside vendor via malicious transitive package name
HIGH (7)
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.
Published: 2026-07-08T19:33:48.414Z
Updated: 2026-07-09T14:32:07.719Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-59947 vulnerable 2026-07-29 01:03:18.060211 Composer: URL-embedded HTTP-Basic username leaks to verbose logs (GitHub PAT exposure)
MEDIUM (4.7)
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.
Published: 2026-07-08T19:33:56.009Z
Updated: 2026-07-09T14:01:42.612Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-59946 vulnerable 2026-07-29 01:03:18.060010 Composer: Path traversal in package bin field lets dependencies chmod arbitrary host files
MEDIUM (6.1)
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.
Published: 2026-07-08T19:32:38.089Z
Updated: 2026-07-09T14:41:23.436Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-45793 vulnerable 2026-07-29 00:54:58.547599 Composer: Github Actions issued GITHUB_TOKEN disclosure in GitHub Actions logs
HIGH (7.5)
Composer is a dependency Manager for the PHP language. Prior to 1.10.28, 2.2.28, and 2.9.8, Composer\IO\BaseIO::loadConfiguration() validates GitHub OAuth tokens with the regex ^[.A-Za-z0-9_]+$ and interpolates rejected tokens into an UnexpectedValueException; GitHub Actions GITHUB_TOKEN values using the ghs_<id>_<base64url-JWT> format can contain -, fail validation, and be disclosed to stderr or CI logs. This issue is fixed in versions 1.10.28, 2.2.28, and 2.9.8.
Published: 2026-07-15T16:22:19.418Z
Updated: 2026-07-15T18:11:10.355Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-40261 vulnerable 2026-06-08 08:01:20.103991 Composer has Command Injection via Malicious Perforce Reference
HIGH (8.8)
Composer is a dependency manager for PHP. Versions 1.0 through 2.2.26 and 2.3 through 2.9.5 contain a command injection vulnerability in the Perforce::syncCodeBase() method, which appends the $sourceReference parameter to a shell command without proper escaping, and additionally in the Perforce::generateP4Command() method as in GHSA-wg36-wvj6-r67p / CVE-2026-40176, which interpolates user-supplied Perforce connection parameters (port, user, client) from the source url field without proper escaping. An attacker can inject arbitrary commands through crafted source reference or source url values containing shell metacharacters, even if Perforce is not installed. Unlike CVE-2026-40176, the source reference and url are provided as part of package metadata, meaning any compromised or malicious Composer repository can serve package metadata declaring perforce as a source type with malicious values. This vulnerability is exploitable when installing or updating dependencies from source, including the default behavior when installing dev-prefixed versions. This issue has been fixed in Composer 2.2.27 (2.2 LTS) and 2.9.6 (mainline). If developers are unable to immediately update, they can avoid installing dependencies from source by using --prefer-dist or the preferred-install: dist config setting, and only use trusted Composer repositories as a workaround.
Published: 2026-04-15T20:56:32.182Z
Updated: 2026-07-15T01:01:10.106Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-40176 vulnerable 2026-06-08 08:01:19.999986 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-67746 vulnerable 2026-06-08 07:41:20.400761 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-35242 vulnerable 2026-06-08 06:37:35.518895 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-35241 vulnerable 2026-06-08 06:37:35.518297 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-24821 vulnerable 2026-06-08 06:29:41.834866 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-43655 vulnerable 2026-06-08 06:12:37.662367 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-24828 vulnerable 2026-06-08 05:41:44.707323 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-41116 vulnerable 2026-06-08 05:35:19.767079 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-29472 vulnerable 2026-06-08 05:31:26.425468 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.