Bug 2527243 - CVE-2026-84361 composer: Composer: Arbitrary code execution via malicious Perforce source URL [fedora-all]
Summary: CVE-2026-84361 composer: Composer: Arbitrary code execution via malicious Per...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: composer
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["2c846257-cefc-4761-ad33-c...
Depends On:
Blocks: CVE-2026-84361
TreeView+ depends on / blocked
 
Reported: 2026-09-02 07:15 UTC by Vladimir Vasilev
Modified: 2026-09-11 18:50 UTC (History)
1 user (show)

Fixed In Version: composer-2.10.3-1.fc43 composer-2.10.3-1.fc44 composer-2.10.3-1.fc45
Clone Of:
Environment:
Last Closed: 2026-09-05 00:52:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-09-02 07:15:51 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-09-02 09:22:05 UTC
FEDORA-2026-0425df0537 (composer-2.10.3-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-0425df0537

Comment 2 Fedora Update System 2026-09-02 09:22:16 UTC
FEDORA-2026-5995821369 (composer-2.10.3-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-5995821369

Comment 3 Fedora Update System 2026-09-02 09:22:30 UTC
FEDORA-2026-249d41312c (composer-2.10.3-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-249d41312c

Comment 4 Fedora Update System 2026-09-05 00:52:27 UTC
FEDORA-2026-0425df0537 (composer-2.10.3-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2026-09-05 01:11:32 UTC
FEDORA-2026-5995821369 (composer-2.10.3-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-09-11 18:50:50 UTC
FEDORA-2026-249d41312c (composer-2.10.3-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.