{"id":"CVE-2022-36024","aliases":["EUVD-2022-0405","GHSA-qmhj-m29v-gvmr","PYSEC-2022-43146"],"status":"published","title":"Bots using py-cord as discord api wrapper are vulnerable to shutdowns through remote code execution","description":"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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.0082,"percentile":0.5754,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-284","CWE-862"],"published":"2022-08-18T14:18:37Z","modified":"2026-10-28T02:30:40Z","fixes":[{"ecosystem":"PyPI","package":"py-cord","fixed_in":["2.0.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"py-cord","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"last_affected":"2.0.0"},{"fixed":"2.0.1"}]}],"versions":["2.0.0"]},{"source":"osv","ecosystem":"PyPI","package":"py-cord","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.1"}]}],"versions":["2.0.0"]},{"source":"osv","ecosystem":"PyPI","package":"py-cord","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.1"}]}],"versions":["2.0.0"]}],"products":[{"vendor":"pycord-development","product":"pycord"},{"vendor":"pycord_development","product":"pycord"}],"references":[{"url":"https://github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/Pycord-Development/pycord/pull/1568","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36024","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/py-cord/PYSEC-2022-43146.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qmhj-m29v-gvmr"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36024.json","tags":["advisory"]},{"url":"https://github.com/Pycord-Development/pycord","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-36024","title":"Bots using py-cord as discord api wrapper are vulnerable to shutdowns through remote code execution","description":"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.","status":"published","published":"2022-08-18T14:45:17Z","modified":"2025-04-23T17:49:06.683Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-862","CWE-284"],"updated_at":"2026-11-02T14:34:35.615708Z"}],"euvd":[{"id":"EUVD-2022-0405","description":"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.","status":"published","published":"2022-08-18T14:45:17Z","modified":"2025-04-23T17:49:06Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T20:52:10.363195Z"}],"ghsa":[{"id":"GHSA-qmhj-m29v-gvmr","title":"Bots using py-cord as Discord API wrapper are vulnerable to shutdowns through remote code execution","description":"### Impact\npy-cord is a an API wrapper for Discord written in Python. Bots 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.\n\n### Patches\nThis issue has been patched in version 2.0.1.\n\n### Workarounds\nThere are currently no recommended workarounds - please upgrade to a patched version.\n\n### References\nhttps://github.com/Pycord-Development/pycord/pull/1568\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [our GitHub](https://github.com/Pycord-Development/pycord)\n* Email us at [support@pycord.dev](mailto:support@pycord.dev)","status":"published","published":"2022-08-18T14:18:37Z","modified":"2024-11-26T18:46:58Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T14:38:23.575854Z"}],"nvd":[{"id":"CVE-2022-36024","description":"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.","status":"published","published":"2022-08-18T15:15:26.243Z","modified":"2026-06-17T04:52:45.827Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-284","CWE-862"],"updated_at":"2026-11-02T14:07:25.242752Z"}],"osv":[{"id":"CVE-2022-36024","title":"Bots using py-cord as discord api wrapper are vulnerable to shutdowns through remote code execution","description":"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.","status":"published","published":"2022-08-18T14:45:17Z","modified":"2026-10-28T02:30:40.922636023Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-284","CWE-862"],"updated_at":"2026-11-02T15:44:26.195407Z"},{"id":"GHSA-qmhj-m29v-gvmr","title":"Bots using py-cord as Discord API wrapper are vulnerable to shutdowns through remote code execution","description":"### Impact\npy-cord is a an API wrapper for Discord written in Python. Bots 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.\n\n### Patches\nThis issue has been patched in version 2.0.1.\n\n### Workarounds\nThere are currently no recommended workarounds - please upgrade to a patched version.\n\n### References\nhttps://github.com/Pycord-Development/pycord/pull/1568\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [our GitHub](https://github.com/Pycord-Development/pycord)\n* Email us at [support@pycord.dev](mailto:support@pycord.dev)","status":"published","published":"2022-08-18T14:18:37Z","modified":"2024-11-26T18:46:54Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T15:46:54.760124Z"},{"id":"PYSEC-2022-43146","description":"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.","status":"published","published":"2022-08-18T15:15:00Z","modified":"2024-11-25T22:42:10.994127Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:52:53.449407Z"}]}}
