CVE-2022-36024 json
Bots using py-cord as discord api wrapper are vulnerable to shutdowns through remote code execution
published 2022-08-18 4 y ago modified 2026-06-17 4 mo ago also GHSA-qmhj-m29v-gvmr , PYSEC-2022-43146 , EUVD-2022-0405
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.82% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | py-cord | >=2.0.0, <2.0.1 |
2.0.1 |
Affected products
- Pycord-Development pycord
Classification
References
-
github.com
/Pycord-Development/pycord/pull/1568
web, patch, third-party-advisory
-
github.com
/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-36024
advisory
-
github.com
/Pycord-Development/pycord
package
-
github.com
/pypa/advisory-database/tree/main/vulns/py-cord/PYSEC-2022-43146.yaml
web
Sources
- CVE List CVE-2022-36024
- GitHub Advisory GHSA-qmhj-m29v-gvmr
- NVD CVE-2022-36024
- OSV PYSEC-2022-43146
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.