MailDev Remote Code Execution
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | maildev | >= 2.0.0-beta1, <= 2.1.0 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-27448
- https://github.com/maildev/maildev/issues/467
- https://gist.github.com/stypr/fe2003f00959f7e3d92ab9d5260433f8
- https://github.com/Tim-Hoekstra/MailDev-2.1.0-Exploit-RCE
- https://github.com/maildev/maildev
- https://github.com/maildev/maildev/releases
- https://intrix.com.au/articles/exposing-major-security-flaw-in-maildev
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-22, CWE-352- Platform
- npm
- Package
maildev- Disclosed
- 05.04.2024
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-vc6q-ccj9-9r89 - CC BY 4.0
Vulnerability history: maildev
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.