Read the docs
TI-2021-06112 Aliases CVE-2021-23420GHSA-4574-qv3w-fcmg

Deserialization of untrusted data in codeception/codeception

Priority MEDIUM 47CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-502.

Summary

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.

Why it matters now

EPSS 0.02714 86th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed codeception/codeception: 4.1.22, 3.1.3codeception/codeception (Packagist): 3.1.3, 4.1.22

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—codeception/codeception4.0.0 and later; before 4.1.22; before 3.1.34.1.22, 3.1.3Patch availableCNA
—codeception/codeception (Packagist)before 3.1.33.1.3Patch availableGHSA-4574-qv3w-fcmg
—codeception/codeception (Packagist)4.0.0 to before 4.1.224.1.22Patch availableGHSA-4574-qv3w-fcmg
  • codeception/codeception Vendor— Affected 4.0.0 and later; before 4.1.22; before 3.1.3 Fixed in 4.1.22, 3.1.3 Patch available CNA
  • codeception/codeception (Packagist) Vendor— Affected before 3.1.3 Fixed in 3.1.3 Patch available GHSA-4574-qv3w-fcmg
  • codeception/codeception (Packagist) Vendor— Affected 4.0.0 to before 4.1.22 Fixed in 4.1.22 Patch available GHSA-4574-qv3w-fcmg

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:codeception:codeception:*:*:*:*:*:*:*:*before 3.1.3; 4.0.0 to before 4.1.22VulnerableCodeception
  • cpe:2.3:a:codeception:codeception:*:*:*:*:*:*:*:* Versions before 3.1.3; 4.0.0 to before 4.1.22 Vulnerable ·Codeception

Remediation

  • Fix · CNA codeception/codeception Fixed in 4.1.22, 3.1.3
  • Fix · GHSA-4574-qv3w-fcmg codeception/codeception (Packagist) Fixed in 3.1.3 Advisory →
  • Fix · GHSA-4574-qv3w-fcmg codeception/codeception (Packagist) Fixed in 4.1.22 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-23420
  2. 2026-10-03 Alias added: GHSA-4574-qv3w-fcmg

References

Sources