Skip to main content

Composer

12 CVEs product

Monthly

CVE-2026-84361 Sep 01, 20:06 HIGH POC PATCH GHSA This Week

Command injection in PHP Composer's Perforce VCS handler allows arbitrary local command execution with the privileges of the developer or CI account running package installation. Affects all Composer releases from 1.0 through 2.2.29 and 2.10.2; the flaw exploits P4PORT's undocumented `rsh:`/`jsh:` transport keywords, which instruct the Perforce `p4` client to spawn a local child process instead of connecting to a server, allowing attacker-controlled package metadata to trigger OS command execution. No public exploit identified at time of analysis, though the fix commit includes test payloads confirming the mechanism.

PHP Command Injection Composer
NVD GitHub VulDB
CVSS 4.0
7.7
EPSS
0.4%
CVE-2026-59948 Jul 08, 19:33 PHP HIGH POC PATCH GHSA This Week

Arbitrary file write in Composer (the PHP dependency manager) before 2.2.29 and 2.10.2 allows a malicious package served from an untrusted, third-party repository to write attacker-controlled files outside the vendor directory and outside the project root during an install or update. The flaw stems from an invalid package name that is not validated before dependency-resolution results are written to disk (CWE-22 path traversal), and no public exploit has been identified at time of analysis. Exploitation requires the victim to have configured a non-default, untrusted repository (not Packagist.org or Private Packagist) and to run composer install/update, so it is not a default-configuration remote attack.

PHP Path Traversal Red Hat Suse Composer
NVD GitHub VulDB
CVSS 3.1
7.0
EPSS
0.1%
CVE-2026-10043 Jun 24, 21:36 HIGH PATCH This Week

Arbitrary code execution in MosaicML Composer arises when the library loads a model or resumption checkpoint, because checkpoint parsing deserializes attacker-controlled pickle data without validation (CWE-502). A user who loads a maliciously crafted checkpoint (.pt) file - for example one downloaded from a model hub or shared by a collaborator - runs arbitrary Python code in the context of the training process. Reported through ZDI (ZDI-26-384, ZDI-CAN-27990); no public exploit identified at time of analysis and the issue is not listed in CISA KEV, but an upstream source fix is available.

RCE Deserialization Composer
NVD GitHub
CVSS 3.0
7.8
EPSS
0.3%
CVE-2026-11914 Jul 10, 21:59 PHP MEDIUM This Month

Improper input validation in the Drupal Composer contributed module (SA-contrib-2026-046) exposes sites to confidentiality and integrity compromise when exploited by a highly privileged attacker over the network under specific conditions. The vulnerability, classified as CWE-20, affects all tracked versions of the module and carries a CVSS 3.1 score of 5.9 (Medium), with both high confidentiality and high integrity impact despite no availability impact. No public exploit code exists and no active exploitation has been identified; EPSS stands at 0.15% (5th percentile), and CISA has not added this to KEV.

Information Disclosure Drupal Composer
NVD VulDB
CVSS 3.1
5.9
EPSS
0.2%
CVE-2026-59947 Jul 08, 19:33 PHP MEDIUM PATCH GHSA This Month

Credential leakage in Composer PHP dependency manager exposes sensitive tokens - such as GitHub Personal Access Tokens embedded in repository URLs - to debug output when the tool is invoked with the -vvv verbosity flag. Affected versions prior to 2.2.29 (LTS branch) and 2.10.2 fail to sanitize username-slot URL credentials (e.g., https://TOKEN@host/) across three components: AuthHelper, Url::sanitize, and ProcessExecutor. An attacker or co-located user with access to terminal output or CI/CD log artifacts could extract valid authentication tokens from this debug output. No public exploit code has been identified and this vulnerability is not listed in the CISA KEV catalog.

PHP Information Disclosure Red Hat Suse Composer
NVD GitHub VulDB
CVSS 3.1
4.7
EPSS
0.1%
CVE-2026-59946 Jul 08, 19:32 PHP MEDIUM PATCH GHSA This Month

Path traversal in Composer's binary installation flow allows a malicious PHP package to cause arbitrary host files to be chmod'd world-readable and world-executable. Any user running `composer install`, `composer update`, or `composer require` against a package whose `bin` entry contains `..` path segments is vulnerable - Composer follows the traversal and applies chmod outside the intended package install directory. This is a supply chain attack vector affecting Composer prior to 2.2.29 and 2.10.2; no public exploit or CISA KEV listing is identified at time of analysis, but the impact to developer and CI/CD environments is significant given the confidentiality risk of exposing sensitive host files.

PHP Path Traversal Red Hat Suse Composer
NVD GitHub VulDB
CVSS 3.1
6.1
EPSS
0.1%
CVE-2025-3510 May 02, 04:15 MEDIUM This Month

The tagDiv Composer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple shortcodes in all versions up to, and including, 5.4 due to insufficient input sanitization and. Rated medium severity (CVSS 6.4), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.

PHP WordPress XSS Composer Tagdiv
NVD
CVSS 3.1
6.4
EPSS
0.2%
CVE-2023-43655 Sep 29, 20:15 PHP HIGH PATCH This Week

Composer is a dependency manager for PHP. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low attack complexity.

PHP RCE Debian Debian Linux Fedora +3
NVD GitHub
CVSS 3.1
8.8
EPSS
1.4%
CVE-2023-1596 May 15, 13:15 MEDIUM POC This Month

The tagDiv Composer WordPress plugin before 4.0 does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting which could be used against. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

WordPress XSS Composer Tagdiv
NVD WPScan
CVSS 3.1
6.1
EPSS
0.5%
CVE-2022-24828 Apr 13, 21:15 PHP HIGH PATCH This Week

Composer is a dependency manager for the PHP programming language. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

PHP RCE Fedora Composer Tenable Sc +3
NVD GitHub
CVSS 3.1
8.8
EPSS
1.9%
CVE-2021-41116 Oct 05, 18:15 PHP CRITICAL PATCH Act Now

Composer is an open source dependency manager for the PHP language. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Command Injection vulnerability could allow attackers to inject arbitrary commands into system command execution.

PHP Command Injection Microsoft Composer Tenable Sc +2
NVD GitHub
CVSS 3.1
9.8
EPSS
2.9%
CVE-2021-29472 Apr 27, 21:15 PHP HIGH POC PATCH This Week

Composer is a dependency manager for PHP. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available and no vendor patch available.

RCE Debian Debian Linux Fedora Composer +2
NVD GitHub
CVSS 3.1
8.8
EPSS
4.8%
EPSS 0% CVSS 7.7
HIGH POC PATCH This Week

Command injection in PHP Composer's Perforce VCS handler allows arbitrary local command execution with the privileges of the developer or CI account running package installation. Affects all Composer releases from 1.0 through 2.2.29 and 2.10.2; the flaw exploits P4PORT's undocumented `rsh:`/`jsh:` transport keywords, which instruct the Perforce `p4` client to spawn a local child process instead of connecting to a server, allowing attacker-controlled package metadata to trigger OS command execution. No public exploit identified at time of analysis, though the fix commit includes test payloads confirming the mechanism.

PHP Command Injection Composer
NVD GitHub VulDB
EPSS 0% CVSS 7.0
HIGH POC PATCH This Week

Arbitrary file write in Composer (the PHP dependency manager) before 2.2.29 and 2.10.2 allows a malicious package served from an untrusted, third-party repository to write attacker-controlled files outside the vendor directory and outside the project root during an install or update. The flaw stems from an invalid package name that is not validated before dependency-resolution results are written to disk (CWE-22 path traversal), and no public exploit has been identified at time of analysis. Exploitation requires the victim to have configured a non-default, untrusted repository (not Packagist.org or Private Packagist) and to run composer install/update, so it is not a default-configuration remote attack.

PHP Path Traversal Red Hat +2
NVD GitHub VulDB
EPSS 0% CVSS 7.8
HIGH PATCH This Week

Arbitrary code execution in MosaicML Composer arises when the library loads a model or resumption checkpoint, because checkpoint parsing deserializes attacker-controlled pickle data without validation (CWE-502). A user who loads a maliciously crafted checkpoint (.pt) file - for example one downloaded from a model hub or shared by a collaborator - runs arbitrary Python code in the context of the training process. Reported through ZDI (ZDI-26-384, ZDI-CAN-27990); no public exploit identified at time of analysis and the issue is not listed in CISA KEV, but an upstream source fix is available.

RCE Deserialization Composer
NVD GitHub
EPSS 0% CVSS 5.9
MEDIUM This Month

Improper input validation in the Drupal Composer contributed module (SA-contrib-2026-046) exposes sites to confidentiality and integrity compromise when exploited by a highly privileged attacker over the network under specific conditions. The vulnerability, classified as CWE-20, affects all tracked versions of the module and carries a CVSS 3.1 score of 5.9 (Medium), with both high confidentiality and high integrity impact despite no availability impact. No public exploit code exists and no active exploitation has been identified; EPSS stands at 0.15% (5th percentile), and CISA has not added this to KEV.

Information Disclosure Drupal Composer
NVD VulDB
EPSS 0% CVSS 4.7
MEDIUM PATCH This Month

Credential leakage in Composer PHP dependency manager exposes sensitive tokens - such as GitHub Personal Access Tokens embedded in repository URLs - to debug output when the tool is invoked with the -vvv verbosity flag. Affected versions prior to 2.2.29 (LTS branch) and 2.10.2 fail to sanitize username-slot URL credentials (e.g., https://TOKEN@host/) across three components: AuthHelper, Url::sanitize, and ProcessExecutor. An attacker or co-located user with access to terminal output or CI/CD log artifacts could extract valid authentication tokens from this debug output. No public exploit code has been identified and this vulnerability is not listed in the CISA KEV catalog.

PHP Information Disclosure Red Hat +2
NVD GitHub VulDB
EPSS 0% CVSS 6.1
MEDIUM PATCH This Month

Path traversal in Composer's binary installation flow allows a malicious PHP package to cause arbitrary host files to be chmod'd world-readable and world-executable. Any user running `composer install`, `composer update`, or `composer require` against a package whose `bin` entry contains `..` path segments is vulnerable - Composer follows the traversal and applies chmod outside the intended package install directory. This is a supply chain attack vector affecting Composer prior to 2.2.29 and 2.10.2; no public exploit or CISA KEV listing is identified at time of analysis, but the impact to developer and CI/CD environments is significant given the confidentiality risk of exposing sensitive host files.

PHP Path Traversal Red Hat +2
NVD GitHub VulDB
EPSS 0% CVSS 6.4
MEDIUM This Month

The tagDiv Composer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple shortcodes in all versions up to, and including, 5.4 due to insufficient input sanitization and. Rated medium severity (CVSS 6.4), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.

PHP WordPress XSS +2
NVD
EPSS 1% CVSS 8.8
HIGH PATCH This Week

Composer is a dependency manager for PHP. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low attack complexity.

PHP RCE Debian +5
NVD GitHub
EPSS 1% CVSS 6.1
MEDIUM POC This Month

The tagDiv Composer WordPress plugin before 4.0 does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting which could be used against. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

WordPress XSS Composer +1
NVD WPScan
EPSS 2% CVSS 8.8
HIGH PATCH This Week

Composer is a dependency manager for the PHP programming language. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

PHP RCE Fedora +5
NVD GitHub
EPSS 3% CVSS 9.8
CRITICAL PATCH Act Now

Composer is an open source dependency manager for the PHP language. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Command Injection vulnerability could allow attackers to inject arbitrary commands into system command execution.

PHP Command Injection Microsoft +4
NVD GitHub
EPSS 5% CVSS 8.8
HIGH POC PATCH This Week

Composer is a dependency manager for PHP. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available and no vendor patch available.

RCE Debian Debian Linux +4
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy