CVE-2022-36024 HIGH

CVE-2022-36024: Bots using py-cord as discord api wrapper are vulnerable to shutdowns through remote code execution

Vendor Pycord-Development
Product pycord
Weakness CWE-862 · Missing authorization
Published August 18, 2022
Last update April 23, 2025

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 18, 2022 CVE published
April 23, 2025 Record updated

Related vulnerabilities

04Related CVE