# CVE-2024-39905: Red-DiscordBot vulnerable to Incorrect Authorization in commands API

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- 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.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2024-07-11T15:43:34.437Z
- Modified: 2026-09-10T03:50:16.298Z
- Also known as: GHSA-5jq8-q6rj-9gq4, PYSEC-2026-1865
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Red is a fully modular Discord bot. Due to a bug in Red's Core API, 3rd-party cogs using the `@commands.can_manage_channel()` command permission check without additional permission controls may authorize a user to run a command even when that user doesn't have permissions to manage a channel. None of the core commands or core cogs are affected. The maintainers of the project are not aware of any _public_ 3rd-party cog utilizing this API at the time of writing this advisory. The problem was patched and released in version 3.5.10.

(As written by CVE List.)

## Affected

- Cog-Creators Red-DiscordBot: >= 3.5.0, < 3.5.10
- cogboard red_discord_bot: from 3.5.0 before 3.5.10
- red-discordbot (PyPI): from 3.5.0 before 3.5.10

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-5jq8-q6rj-9gq4> (web)
- <https://github.com/Cog-Creators/Red-DiscordBot/pull/6398> (web)
- <https://github.com/Cog-Creators/Red-DiscordBot/commit/0b0b23b9717b40ed4f8715720b199417c8e89750> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-39905> (advisory)
- <https://github.com/Cog-Creators/Red-DiscordBot> (package)
- <https://pypi.org/project/red-discordbot> (package)
- <https://github.com/advisories/GHSA-5jq8-q6rj-9gq4> (advisory)

## Sources

- CVE List: [CVE-2024-39905](https://www.cve.org/CVERecord?id=CVE-2024-39905), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-5jq8-q6rj-9gq4](https://github.com/advisories/GHSA-5jq8-q6rj-9gq4), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-39905](https://nvd.nist.gov/vuln/detail/CVE-2024-39905), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1865](https://osv.dev/vulnerability/PYSEC-2026-1865), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-39905 · Whole record: https://cve.day/CVE-2024-39905.json · Rebuilt by cve.day 2026-11-25T22:58:42.793Z
