CVE-2025-57285 is a critical command injection vulnerability in codeceptjs version 3.7.3, specifically within the emptyFolder function in lib/utils.js. This flaw allows unauthenticated attackers to execute arbitrary commands on affected systems due to improper sanitization of the user-controlled directoryPath parameter, which is directly concatenated into an execSync command. With a CVSS score of 9.8 (CRITICAL), the vulnerability presents a severe risk of complete compromise of confidentiality, integrity, and availability. Currently, there is no evidence of active exploitation, public exploit code, or significant community discussion surrounding this CVE.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
3.7.3CPE matchmatch criteria | cpe:2.3:a:codecept:codeceptjs:3.7.3:*:*:*:*:node.js:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.