{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-39905","id":"CVE-2024-39905","title":"Red-DiscordBot vulnerable to Incorrect Authorization in commands API","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 _","descriptionLong":"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.","published":"2024-07-11T15:43:34.437Z","updated":"2026-10-28T02:30:47.783199259Z","reserved":"2024-07-02T19:37:18.600Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Cog-Creators Red-DiscordBot"],"affectedProducts":[{"vendor":"Cog-Creators","product":"Red-DiscordBot","defaultStatus":null,"versions":[{"version":">= 3.5.0, < 3.5.10","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"red-discordbot","purl":"pkg:pypi/red-discordbot","ranges":[">=3.5.0 <3.5.10"],"fixed":["3.5.10"],"advisory":"GHSA-5jq8-q6rj-9gq4"}],"cwes":["CWE-863"],"aliases":["GHSA-5jq8-q6rj-9gq4","PYSEC-2026-1865"],"references":[{"url":"https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-5jq8-q6rj-9gq4","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://github.com/Cog-Creators/Red-DiscordBot/pull/6398","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://github.com/Cog-Creators/Red-DiscordBot/commit/0b0b23b9717b40ed4f8715720b199417c8e89750","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39905.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39905","tags":["advisory"]},{"url":"https://github.com/Cog-Creators/Red-DiscordBot","tags":["package"]},{"url":"https://pypi.org/project/red-discordbot","tags":["package"]},{"url":"https://github.com/advisories/GHSA-5jq8-q6rj-9gq4","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00413,"epssPercentile":0.36386,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-39905","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39905","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-39905","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5jq8-q6rj-9gq4","ok":true,"note":"GHSA-5jq8-q6rj-9gq4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-39905","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}