VULNERABILITY INTELLIGENCE
CVE-2025-57285
CVSS score9.8 CRITICAL
EPSS probability2.17%
CISA KEVNot currently listed
Published2025-09-08
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-77
Primary references
- cve@mitre.org — Exploit, Third Party Advisory
- cve@mitre.org — Product