CVE-2022-36024
MEDIUM 6.5CVSS 3.1Bots using py-cord as Discord API wrapper are vulnerable to shutdowns through remote code execution
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.
- Published
- 18 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-284CWE-862
- Also known as
- GHSA-qmhj-m29v-gvmrPYSEC-2022-43146
- Sources
- NVDJSONOSV GHSA-qmhj-m29v-gvmrJSONOSV PYSEC-2022-43146JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pycord_development | pycordcpe:2.3:a:pycord_development:pycord:2.0.0:*:*:*:*:discord:*:* |
= 2.0.0 | |
| OSV | PyPI | py-cord | >= 2.0.0, < 2.0.1 | 2.0.1 |
References
- https://github.com/Pycord-Development/pycord/pull/1568 · Patch, Third Party Advisory, WEB
- https://github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-36024 · ADVISORY
- https://github.com/Pycord-Development/pycord · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/py-cord/PYSEC-2022-43146.yaml · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 18 Aug 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Aug 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Aug 2022)