Remote Code Execution Vulnerability in MEGABOT
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-95.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NicPWNs | MEGABOT | before 1.5.0 | 1.5.0 | Patch available | CNA |
- MEGABOT VendorNicPWNs Affected before 1.5.0 Fixed in 1.5.0 Patch available CNA
Remediation
- Fix · CNA MEGABOT (NicPWNs) Fixed in 1.5.0
Timeline
- 2026-10-02 Threatist record created from CVE-2024-43404
References
Patch 3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences