cvedb.io
CVE-2025-57285
CRITICAL · CVSS 9.8
EPSS exploitation probability: 0%
Published 2025-09-08T18:15:34.160 · Last modified 2026-06-17T09:42:59.690

Summary

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.

Affected products

codecept — codeceptjs

Does this affect you?

Add your gear to cvedb and we'll alert you only when codecept ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.