# CVE-2019-10774: php-shellcommand command injection vulnerability

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.59%, higher than 91% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-12-30T16:26:45.000Z
- Modified: 2026-07-08T05:56:32.220Z
- Also known as: GHSA-c7fv-wv9f-cgjw, SNYK-PHP-MIKEHAERTLPHPSHELLCOMMAND-538426
- Weaknesses: CWE-78
- Assigned by: snyk

## Description

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

(As written by CVE List.)

## Affected

- php-shellcommand: All versions prior to version 1.6.1
- mikehaertl/php-shellcommand (Packagist): before 1.6.1
- php-shellcommand_project php-shellcommand: before 1.6.1

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://snyk.io/vuln/SNYK-PHP-MIKEHAERTLPHPSHELLCOMMAND-538426> (exploit, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-10774> (advisory)
- <https://github.com/mikehaertl/php-shellcommand/commit/8d98d8536e05abafe76a491da87296d824939076> (web)
- <https://github.com/mikehaertl/php-shellcommand> (package)

## Sources

- CVE List: [CVE-2019-10774](https://www.cve.org/CVERecord?id=CVE-2019-10774), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-c7fv-wv9f-cgjw](https://github.com/advisories/GHSA-c7fv-wv9f-cgjw), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2019-10774](https://nvd.nist.gov/vuln/detail/CVE-2019-10774), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-10774 · Whole record: https://cve.day/CVE-2019-10774.json · Rebuilt by cve.day 2026-11-25T22:57:49.079Z
