Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. maildev
  4. ›
  5. CVE-2024-27448

CVE-2024-27448: MailDev Remote Code Execution

April 5, 2024 (updated March 14, 2025)

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.

References

  • gist.github.com/stypr/fe2003f00959f7e3d92ab9d5260433f8
  • github.com/Tim-Hoekstra/MailDev-2.1.0-Exploit-RCE
  • github.com/advisories/GHSA-vc6q-ccj9-9r89
  • github.com/maildev/maildev
  • github.com/maildev/maildev/issues/467
  • github.com/maildev/maildev/releases
  • intrix.com.au/articles/exposing-major-security-flaw-in-maildev
  • nvd.nist.gov/vuln/detail/CVE-2024-27448

Code Behaviors & Features

Detect and mitigate CVE-2024-27448 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0-beta1 up to 2.1.0

Solution

Unfortunately, there is no solution available yet.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

npm/maildev/CVE-2024-27448.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:45 +0000.