Vulnerability DatabaseGHSA-jhfp-4ppm-crmm

GHSA-jhfp-4ppm-crmm: 
PHP vulnerability analysis and mitigation

Summary

A crafted composer.lock or vendor/composer/installed.json could cause Composer to run an arbitrary system command while resolving downloads during composer install or composer update. This is data-driven arbitrary command execution: it does not require a malicious package to be installed or any package code to run, only the ability to influence those two files, and the command runs before any checksum or integrity check. It is not a flaw in how trusted package code executes.

Am I affected?

You are affected if all of the following hold:

  • You run Composer 2.10.0 through 2.11.1.
  • You run composer install or composer update against a composer.lock or vendor/composer/installed.json whose contents an attacker could influence. Realistic ways that file becomes attacker-influenced include a pull request that only edits composer.lock, a shared or scaffolded project template that ships a lock file, a compromised dependency-update bot, or a CI cache that restores a poisoned lock or installed file. You are plainly not affected if nothing untrusted can modify your lock or installed-packages files, or if you are on the 2.2 LTS line (or any release before 2.10.0), which never had the affected option handling. The single most realistic way to get hit: automated CI that checks out a branch and runs composer install without a human reviewing the lock-file change. --no-scripts and --no-plugins do not prevent it.

Patched versions

Fixed in 2.11.2. The fix makes Composer ignore these download-time callback options when they come from the lock or installed-packages file, and only honor them when they are set programmatically.

Workarounds

The only complete fix is upgrading. To reduce risk until then, do not run composer install/update on lock or installed files from untrusted sources (unreviewed pull requests outside of CI running sandboxed, third-party templates, shared caches).


Source: NVD

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-104883HIGH7.2
  • PHP logoPHP
  • contao/core-bundle
NoYesNov 20, 2026
GHSA-vw9g-2c4c-g767MEDIUM6.8
  • PHP logoPHP
  • livewire/livewire
NoYesNov 21, 2026
CVE-2026-104882MEDIUM6.5
  • PHP logoPHP
  • cpe:2.3:a:contao:contao
NoYesNov 20, 2026
GHSA-2g6w-c7gx-fxj8MEDIUM5.4
  • PHP logoPHP
  • guzzlehttp/guzzle
NoYesNov 21, 2026
CVE-2026-104884MEDIUM5.4
  • PHP logoPHP
  • composer://contao/contao
NoYesNov 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management