{"id":"CVE-2024-43404","aliases":["EUVD-2024-40269","GHSA-vhxp-4hwq-w3p2"],"status":"published","title":"Remote Code Execution Vulnerability in MEGABOT","description":"MEGABOT is a fully customized Discord bot for learning and fun. The `/math` command and functionality of MEGABOT versions \u003c 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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01108,"percentile":0.66151,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-94","CWE-95"],"published":"2024-08-20T14:55:12Z","modified":"2026-10-28T02:30:34Z","products":[{"vendor":"megacord","product":"megabot"},{"vendor":"nicpwns","product":"megabot"}],"references":[{"url":"https://github.com/NicPWNs/MEGABOT/security/advisories/GHSA-vhxp-4hwq-w3p2","tags":["x_refsource_CONFIRM","Patch","Vendor Advisory","advisory"]},{"url":"https://github.com/NicPWNs/MEGABOT/issues/137","tags":["x_refsource_MISC","Issue Tracking","report"]},{"url":"https://github.com/NicPWNs/MEGABOT/pull/138","tags":["x_refsource_MISC","Issue Tracking","Patch","fix"]},{"url":"https://github.com/NicPWNs/MEGABOT/commit/71e79e5581ea36313700385b112d863053fb7ed6","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/NicPWNs/MEGABOT/releases/tag/v1.5.0","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43404.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43404","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-43404","title":"Remote Code Execution Vulnerability in MEGABOT","description":"MEGABOT is a fully customized Discord bot for learning and fun. The `/math` command and functionality of MEGABOT versions \u003c 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.","status":"published","published":"2024-08-20T14:55:12.928Z","modified":"2024-08-20T20:29:22.818Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-95"],"updated_at":"2026-11-02T14:33:58.357949Z"}],"euvd":[{"id":"EUVD-2024-40269","description":"MEGABOT is a fully customized Discord bot for learning and fun. The `/math` command and functionality of MEGABOT versions \u003c 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.","status":"published","published":"2024-08-20T14:55:12Z","modified":"2024-08-20T20:29:22Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T00:56:14.606712Z"}],"nvd":[{"id":"CVE-2024-43404","description":"MEGABOT is a fully customized Discord bot for learning and fun. The `/math` command and functionality of MEGABOT versions \u003c 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.","status":"published","published":"2024-08-20T15:15:23.867Z","modified":"2026-06-17T07:50:58.9Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-95","CWE-94"],"updated_at":"2026-11-02T14:10:19.870727Z"}],"osv":[{"id":"CVE-2024-43404","title":"Remote Code Execution Vulnerability in MEGABOT","description":"MEGABOT is a fully customized Discord bot for learning and fun. The `/math` command and functionality of MEGABOT versions \u003c 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.","status":"published","published":"2024-08-20T14:55:12.928Z","modified":"2026-10-28T02:30:34.880573969Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-95"],"updated_at":"2026-11-02T15:44:42.322107Z"}]}}
