{"id":"CVE-2024-43404","aliases":["CVE-2024-43404"],"related":[],"kind":"vulnerability","state":"published","title":"Remote Code Execution Vulnerability in MEGABOT","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"MEGABOT es un bot de Discord totalmente personalizado para aprender y divertirse. El comando `/math` y la funcionalidad de las versiones de MEGABOT &lt;1.5.0 contienen una vulnerabilidad de ejecución remota de código debido a una `eval()` de Python. La vulnerabilidad permite a un atacante inyectar código Python en el parámetro `expresión` cuando se usa `/math` en cualquier canal de Discord. Esta vulnerabilidad afecta a cualquier gremio de discordia que utilice MEGABOT. Esta vulnerabilidad se solucionó en la versión 1.5.0.","source":"nvd"}],"published":"2024-08-20T14:55:12.928Z","modified":"2026-06-17T07:50:58.900Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-94","CWE-95"],"affected":[{"ranges":[{"version":"< 1.5.0","status":"affected"}],"vendor":"NicPWNs","product":"MEGABOT","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.5.0","status":"affected"}],"vendor":"megacord","product":"megabot","cpe":"cpe:2.3:a:megacord:megabot:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.5.0"}],"vendor":"megacord","product":"megabot","cpe":"cpe:2.3:a:megacord:megabot:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/NicPWNs/MEGABOT/security/advisories/GHSA-vhxp-4hwq-w3p2","tags":["patch","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NicPWNs/MEGABOT/issues/137","tags":["issue-tracking","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NicPWNs/MEGABOT/pull/138","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NicPWNs/MEGABOT/commit/71e79e5581ea36313700385b112d863053fb7ed6","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NicPWNs/MEGABOT/releases/tag/v1.5.0","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2024-08-20T20:07:50.076Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-43404","url":"https://www.cve.org/CVERecord?id=CVE-2024-43404","licence":"CVE Terms of Use","modified":"2024-08-20T20:29:22.818Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-43404","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43404","licence":"Public domain","modified":"2026-06-17T07:50:58.900Z"}],"updatedAt":"2026-11-25T22:58:44.591Z","epss":{"score":0.02116,"percentile":0.82529,"date":"2026-11-30T12:00:22.000Z"}}