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

Source: https://junglewise.ai/threats/cve-2024-39905-red-discordbot-vulnerable-to-incorrect-authorization-in-commands  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2024-39905 · Severity: low · CVSS 3.1 · Published 2026-07-07

Red-DiscordBot vulnerable to Incorrect Authorization in commands API

Technologies: [red-discordbot (PyPI)](https://junglewise.ai/threats/technologies/red-discordbot). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2024-39905 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-39905 being exploited in the wild.

**How severe is CVE-2024-39905?** Low severity, with a CVSS score of 3.1, published 7 July 2026.

**Which products and versions are affected?** red-discordbot (PyPI) ECOSYSTEM:introduced=3.5.0,fixed=3.5.10.

**Is there a fix for CVE-2024-39905?** Yes. red-discordbot (PyPI): upgrade to 3.5.10 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-39905?** Check whether you run red-discordbot (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- red-discordbot (PyPI): upgrade to 3.5.10 or later

  ```sh
  pip install "red-discordbot>=3.5.10"
  ```


## Affected products

- red-discordbot (PyPI) ECOSYSTEM:introduced=3.5.0,fixed=3.5.10

## Identifiers

- CVE-2024-39905
- GHSA-5jq8-q6rj-9gq4
- PYSEC-2026-1865

## Related threats

- [Duplicate Advisory: Unauthorized privilege escalation in Mod module](https://junglewise.ai/threats/duplicate-advisory-unauthorized-privilege-escalation-in-mod-module-75e685bc)
- [Unauthorized privilege escalation in Mod module](https://junglewise.ai/threats/cve-2020-15278-unauthorized-privilege-escalation-in-mod-module)
- [Remote Code Execution in Red Discord Bot](https://junglewise.ai/threats/cve-2020-15147-remote-code-execution-in-red-discord-bot)
- [Remote Code Execution in Red Discord Bot](https://junglewise.ai/threats/cve-2020-15140-remote-code-execution-in-red-discord-bot)
