
Cloud Vulnerability DB
A community-led vulnerabilities database
A command injection vulnerability was discovered in codeceptjs version 3.7.3, identified as CVE-2025-57285. The vulnerability exists in the emptyFolder function within lib/utils.js, where the execSync command directly concatenates user-controlled directoryPath parameter without proper sanitization or escaping. This vulnerability was disclosed on September 8, 2025 (NVD).
The vulnerability is classified as a Command Injection (CWE-77) with a CVSS v3.1 Base Score of 9.8 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). The vulnerability stems from improper neutralization of special elements used in a command, allowing attackers to execute arbitrary commands through the directoryPath parameter (NVD, MITRE).
The vulnerability allows attackers to execute arbitrary commands on the affected system, potentially leading to complete system compromise with high impacts on confidentiality, integrity, and availability (NVD).
Users should upgrade from codeceptjs version 3.7.3 to a patched version when available. In the meantime, careful validation and sanitization of user input, particularly for the directoryPath parameter, should be implemented (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."