CVE-2024-43404
published critical CVSS 3.1 · 9.8Remote Code Execution Vulnerability in MEGABOT
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NicPWNs | MEGABOT | < 1.5.0 (affected) | GitHub_M · cna |
| megacord | megabot | 0 to < 1.5.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-95 CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
5- https://github.com/NicPWNs/MEGABOT/commit/71e79e5581ea36313700385b112d863053fb7ed6
- https://github.com/NicPWNs/MEGABOT/issues/137
- https://github.com/NicPWNs/MEGABOT/pull/138
- https://github.com/NicPWNs/MEGABOT/releases/tag/v1.5.0
- https://github.com/NicPWNs/MEGABOT/security/advisories/GHSA-vhxp-4hwq-w3p2
Provider assertions
2GitHub_M · cna
Remote Code Execution Vulnerability in MEGABOT
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 81b856b1154c208f5fb08dc9687f8ce422515e977d58a8a2ebdbb8fa98229942
- Ingested
- 23 Sep 2026, 08:27:02 UTC
- Source record
- Official CVE record