CVE-2024-43404: Megacord Megabot

Critical severity, CVSS 9.8. EPSS: 1.1% chance of exploitation in the next 30 days.

MEGABOT is a fully customized Discord bot for learning and fun. The `/math` command and functionality of MEGABOT versions < 1.5.0 contains a remote code execution vulnerability due to a Python `eval()`. The vulnerability allows an attacker to inject Python code into the `expression` parameter when using `/math` in any Discord channel. This vulnerability impacts any discord guild utilizing MEGABOT. This vulnerability was fixed in release version 1.5.0.

Affected products

  • Megacord Megabot: before 1.5.0 (fixed in 1.5.0)

Published 2024-08-20. Last modified 2026-06-17.