Description
This affects the package codeception/codeception from 4.0.0 and before 4.1.22, before 3.1.3. The RunProcess class can be leveraged as a gadget to run arbitrary commands on a system that is deserializing user input without validation.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | codeception/codeception | >= 4.0.0, < unspecified; >= unspecified, < 4.1.22; >= unspecified, < 3.1.3 |
References
- https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52Broken Link
- https://github.com/Codeception/Codeception/pull/6241Patch, Third Party Advisory
- https://github.com/JinYiTong/pocExploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585Third Party Advisory
- https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52Broken Link
- https://github.com/Codeception/Codeception/pull/6241Patch, Third Party Advisory
- https://github.com/JinYiTong/pocExploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585Third Party Advisory
Timeline
- Published
- Aug 11, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified