Red-DiscordBot vulnerable to Incorrect Authorization in commands API
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-39905
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 19:50 UTC · Revision 1
Source evidence
Red-DiscordBot vulnerable to Incorrect Authorization in commands API
core-osv · Original sourcePublished 11 Jul 2024, 15:43 UTC
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.
osv:CVE-2024-39905
Complete source record
{
"id": "5b277796673841c7b052b74ae1dd93b9d8e84ec64b67065cc577b0870fbf6f8a",
"url": "https://osv.dev/vulnerability/CVE-2024-39905",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Red-DiscordBot vulnerable to Incorrect Authorization in commands API",
"summary": "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.",
"evidence": "osv:CVE-2024-39905",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-39905",
"aliases": [
"CVE-2024-39905",
"GHSA-5jq8-q6rj-9gq4",
"PYSEC-2026-1865"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/cog-creators/red-discordbot",
"type": "GIT",
"events": [
{
"introduced": "a04fb84ffde9d72fa40ed0b27787316d2ccaaed9"
},
{
"fixed": "7dee8d7963843769749b369517e19a1105be03d0"
},
{
"fixed": "0b0b23b9717b40ed4f8715720b199417c8e89750"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "3.5.0"
},
{
"fixed": "3.5.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "0b0b23b9717b40ed4f8715720b199417c8e89750"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"3.5.9",
"3.5.8",
"3.5.7",
"3.5.6",
"3.5.5",
"3.5.4",
"3.5.3",
"3.5.2",
"3.5.1",
"3.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39905.json"
}
}
],
"modified": "2026-10-28T02:30:47.783199259Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39905.json",
"https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-5jq8-q6rj-9gq4",
"https://nvd.nist.gov/vuln/detail/CVE-2024-39905",
"https://github.com/Cog-Creators/Red-DiscordBot/commit/0b0b23b9717b40ed4f8715720b199417c8e89750",
"https://github.com/Cog-Creators/Red-DiscordBot/pull/6398"
],
"provider_metadata": {
"cwe_ids": [
"CWE-863"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39905.json"
}
},
"related_cves": [
{
"value": "CVE-2024-39905",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 516002,
"published_at": "2024-07-11T15:43:34.437+00:00"
}