CVE-2022-36024Pycord Development Pycord
Medium 6.5
Follow: this CVE · Pycord Development · Pycord Development Pycord We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 57
- Auth required
- Yes
- Published
- Aug 18, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Pycord.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | py-cord |
≥ 2.0.0 < 2.0.1 |
2.0.1 |
pip install "py-cord>=2.0.1" |
| PyPI | py-cord |
≥ 2.0.0 < 2.0.1 |
2.0.1 |
pip install "py-cord>=2.0.1" |
Per OSV / GitHub Advisories (GHSA-qmhj-m29v-gvmr, PYSEC-2022-43146). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pycord_development | pycord | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory