CVE-2022-36024: py-cord is a an API wrapper for Discord written in Python
CVE-2022-36024 is a high-severity flaw (CVSS 7.5) affecting pycord. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-36024?
pycord: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-36024 being exploited?
CVE-2022-36024 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-36024 affect?
CVE-2022-36024 affects pycord. Severity is high (CVSS 7.5). 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,
How urgent is CVE-2022-36024?
Priority 45/100. High severity; Remotely exploitable, no login, no user action
Software pages
Python vulnerabilities · Discord vulnerabilities