Security mailing lists by PureSourceCode

CVE-2022-36024

MEDIUM 6.5CVSS 3.1

Bots 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pycord_development pycord
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.