CVE-2022-36024

Bots using py-cord as discord api wrapper are vulnerable to shutdowns through remote code execution

Published Aug 18, 2022 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0405 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.
Github GHSA Github GHSA GHSA-qmhj-m29v-gvmr Bots using py-cord as Discord API wrapper are vulnerable to shutdowns through remote code execution
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 23, 2025, 5:49 PM
Reserved
Jul 15, 2022, 12:00 AM
Status
Modified
Published
Aug 18, 2022, 3:15 PM
Modified
Jun 17, 2026, 4:52 AM