Skip to content
OpenAdvisories
High · 7.5 CVE-2022-36024 EUVD-2022-0405GHSA-qmhj-m29v-gvmrPYSEC-2022-43146

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

Published Aug 18, 2022 · Updated Apr 23, 2025 · 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.

Affected products

VendorProductAffectedFixed
Pycord-Development pycord = 2.0.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI py-cord >= 2.0.0, < 2.0.1 2.0.1 GHSA-qmhj-m29v-gvmr

References