BIT-composer-2026-84361

    Dashboard / Vulnerabilities / BIT-composer-2026-84361

    BIT-composer-2026-84361

    Published: 7 Sept 2026Last Modified: 7 Sept 2026

    Summary: Composer: Perforce source URL permits P4PORT `rsh:` command execution

    Details: 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.

    Affected packages

    Package

    Name: composer

    Purl: pkg:bitnami/composer

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 1.0.0
    Fixed -2.2.30

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High