CVE-2025-57285
CRITICAL EPSS 80.0%
Published Sep 8, 20259mo ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Published Sep 8, 2025 9mo ago
Last Modified Jun 17, 2026 2w ago
Description
codeceptjs 3.7.3 contains a command injection vulnerability in the emptyFolder function (lib/utils.js). The execSync command directly concatenates the user-controlled directoryPath parameter without sanitization or escaping, allowing attackers to execute arbitrary commands.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
80.0% percentile
Exploit & Patch Status
Public Exploit Known
No Patch Available
Weaknesses 1
CWE-77 Command Injection Injection
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| codecept | codeceptjs | 3.7.3 | any |
References 2
- gist.github.com https://gist.github.com/Dremig/1ba111f9b1f7cffe1fcb4838b64e55b9
- npmjs.com https://www.npmjs.com
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.