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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Published: 2022-08-18T14:18:37.000Z
- Modified: 2026-06-17T04:52:45.827Z
- Also known as: GHSA-qmhj-m29v-gvmr, PYSEC-2022-43146
- Weaknesses: CWE-284, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Pycord-Development pycord: = 2.0.0
- py-cord (PyPI): from 2.0.0 before 2.0.1
- pycord_development pycord: 2.0.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr> (advisory, third-party-advisory, web)
- <https://github.com/Pycord-Development/pycord/pull/1568> (patch, third-party-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2022-36024](https://www.cve.org/CVERecord?id=CVE-2022-36024), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-qmhj-m29v-gvmr](https://github.com/advisories/GHSA-qmhj-m29v-gvmr), CC-BY-4.0, modified 2024-11-26
- NVD: [CVE-2022-36024](https://nvd.nist.gov/vuln/detail/CVE-2022-36024), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-43146](https://osv.dev/vulnerability/PYSEC-2022-43146), CC-BY-4.0, modified 2024-11-25

---

Page: https://cve.day/CVE-2022-36024 · Whole record: https://cve.day/CVE-2022-36024.json · Rebuilt by cve.day 2026-11-25T22:58:14.289Z
