---
id: CVE-2020-15147
aliases:
  - GHSA-7257-96vg-qf6x
  - PYSEC-2020-266
title: Remote Code Execution in Red Discord Bot
summary: Remote Code Execution in Red Discord Bot
severity: high
cvss: 8.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H'
vendor: red-discordbot
product: red-discordbot
ecosystem: pip
affected:
  - red-discordbot < 3.3.12
patched:
  - red-discordbot 3.3.12
published: '2020-08-21'
updated: '2026-07-08'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-7257-96vg-qf6x'
references:
  - url: >-
      https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-7257-96vg-qf6x
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2020-15147'
  - url: 'https://github.com/Cog-Creators/Red-DiscordBot/pull/4183'
  - url: >-
      https://github.com/Cog-Creators/Red-DiscordBot/pull/4183/commits/e269ea0d3bc88417163c18431b1df38a9be92bfc
  - url: 'https://github.com/Cog-Creators/Red-DiscordBot'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/red-discordbot/PYSEC-2020-266.yaml
tags:
  - osv
  - pip
epss: 0.02614
epssPercentile: 0.84765
ingestedAt: '2026-07-08T18:25:46.709Z'
---

## Overview

### Impact
A RCE exploit has been discovered in the Streams module: this exploit allows Discord users with specifically crafted "going live" messages to inject code into the Streams module's going live message. By abusing this exploit, it's possible to perform destructive actions and/or access sensitive information.

### Patches
This critical exploit has been fixed on version ``3.3.12`` & ``3.4``.

### Workarounds
Unloading the Streams module with ``unload streams`` can render this exploit not accessible. We still highly recommend updating to ``3.3.12`` or ``3.4`` to completely patch this issue.

### References
* https://github.com/Cog-Creators/Red-DiscordBot/pull/4183

### For more information
If you have any questions or comments about this advisory:
* Open an issue in [Cog-Creators/Red-DiscordBot](https://github.com/Cog-Creators/Red-DiscordBot)
* Over on our [Discord server](https://discord.gg/red)

## Affected packages

- `red-discordbot < 3.3.12`

## Remediation

Upgrade to a patched release:

- `red-discordbot 3.3.12`
