Open-source package vulnerability · npm
CVE-2024-27448: MailDev Remote Code Execution
criticalCVSS 3.1 9.8GHSA-vc6q-ccj9-9r89
MailDev 2 through 2.1.0 allows Remote Code Execution via a crafted Content-ID header for an e-mail attachment, leading to lib/mailserver.js writing arbitrary code into the routes.js file.
Published Apr 5, 2024 · Updated Mar 14, 2025
Affected packages
maildev
- Ecosystem
- npm
- Affected
- >= 2.0.0-beta1, <= 2.1.0
- Fixed in
- No patched version yet
- Check
npm ls maildev
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
MailDev 2 through 2.1.0 allows Remote Code Execution via a crafted Content-ID header for an e-mail attachment, leading to lib/mailserver.js writing arbitrary code into the routes.js file.
Credited to stypr.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-27448
- https://github.com/Tim-Hoekstra/MailDev-2.1.0-Exploit-RCE
- https://github.com/maildev/maildev/releases
- https://intrix.com.au/articles/exposing-major-security-flaw-in-maildev
- https://github.com/maildev/maildev/issues/467
- https://gist.github.com/stypr/fe2003f00959f7e3d92ab9d5260433f8
- https://github.com/advisories/GHSA-vc6q-ccj9-9r89
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
