OS Command Injection Affecting php-composer2 package, versions <2.2.30-150400.3.21.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.55% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES155-PHPCOMPOSER2-20057230
  • published23 Sept 2026
  • disclosed22 Sept 2026

Introduced: 22 Sep 2026

NewCVE-2026-84361  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade SLES:15.5 php-composer2 to version 2.2.30-150400.3.21.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-composer2 package and not the php-composer2 package as distributed by SLES. See How to fix? for SLES:15.5 relevant fixed versions and status.

Composer is a dependency Manager for the PHP language. From 1.0 until 2.2.30 and 2.10.3, a malicious dependency package from a custom Composer repository or an untrusted composer.lock file could set source.type to perforce and source.url to an rsh: or jsh: P4PORT value. When the Perforce p4 client was installed and Composer installed the package from source through composer install or composer update, including --prefer-source, Composer\Util\Perforce passed the address to p4 without validation, causing p4 to run a local command with the privileges of the user or CI account. Packagist.org does not permit Perforce source metadata. This issue is fixed in versions 2.2.30 and 2.10.3.

CVSS Base Scores

version 3.1