{"id":"CVE-2022-36024","published":"2022-08-18T14:45:17Z","modified":"2025-04-23T17:49:06Z","title":"Bots using py-cord as discord api wrapper are vulnerable to shutdowns through remote code execution","vendor":"Pycord-Development","product":"pycord","tier":"tail","description":{"text":"py-cord is a an API wrapper for Discord written in Python. Bots creating using py-cord version 2.0.0 are vulnerable to remote shutdown if they are added to the server with the `application.commands` scope without the `bot` scope. Currently, it appears that all public bots that use slash commands are affected. This issue has been patched in version 2.0.1. There are currently no recommended workarounds - please upgrade to a patched version.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0082,"percentile":0.58173,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"},{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Pycord-Development/pycord/pull/1568","tags":["x_refsource_MISC"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":11.63},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"pycord-development","affectedVersions":[{"vendor":"Pycord-Development","product":"pycord","versions":["= 2.0.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T15:52:15.958967Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"py-cord","vulnerableRanges":[">=2.0.0, <2.0.1"],"patched":["2.0.1"],"from":["GHSA-qmhj-m29v-gvmr","PYSEC-2022-43146"],"provenance":"source"}],"summary":{"text":"The flaw is in pycord, a Python API wrapper for Discord, affecting bots built with version 2.0.0 that are added to a server with the application.commands scope but without the bot scope. An attacker needs no authentication or user interaction and can reach the bot over the network to remotely shut it down; the flaw is triggered by this scope configuration, and public bots that use slash commands appear to be affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:03:21Z"},"euvd":{"id":"EUVD-2022-0405","exploited":false,"provenance":"source"}}