NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘
🐘 Packagist
Not in CISA KEV
CRITICAL severity

php-shellcommand command injection vulnerabilityGHSA-c7fv-wv9f-cgjw

CRITICALFix: mikehaertl/php-shellcommand@8d98d85

GHSA-c7fv-wv9f-cgjw is a critical-severity (CVSS 9.8) OS Command Injection vulnerability in mikehaertl/php-shellcommand. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for mikehaertl/php-shellcommand — see the affected versions and patch details below.

Also known asCVE-2019-10774SNYK-PHP-MIKEHAERTLPHPSHELLCOMMAND-538426
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
1 known
Exploitation data as of Nov 10, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
4.6%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs92th percentile — riskier than 92% of all scored CVEsHighest risk
0.06%1.93%3.81%5.68%1.1%4.6%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🐘mikehaertl/php-shellcommand

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

php-shellcommand versions before 1.6.1 have a command injection vulnerability. Successful exploitation could lead to arbitrary code execution.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistmikehaertl/php-shellcommandall versions1.6.1composer require mikehaertl/php-shellcommand:^1.6.1

Affected Products

1 product · 1 configurations
Application
php-shellcommandphp-shellcommand_project
< 1.6.1
range
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for mikehaertl/php-shellcommand, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update mikehaertl/php-shellcommand to 1.6.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-c7fv-wv9f-cgjw is resolved across your whole dependency graph.

  3. Workarounds

    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.

Frequently Asked Questions

php-shellcommand versions before 1.6.1 have a command injection vulnerability. Successful exploitation could lead to arbitrary code execution.
O3 Security · Impact-Aware SCA

Is GHSA-c7fv-wv9f-cgjw in your dependencies?

Find it across Packagist, including transitive dependencies.

GHSA-c7fv-wv9f-cgjw: php RCE — Fixed in 1.6.1