# CVE-2021-29465: Remote file overwrite on discord-recon can result in DoS and Remote Code Execution

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`
- 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): 1.96%, higher than 80% of CVEs (2026-12-01)
- Published: 2021-04-22T00:25:15.000Z
- Modified: 2026-06-17T03:47:41.817Z
- Weaknesses: CWE-78, CWE-94
- Assigned by: GitHub_M

## Description

Discord-Recon is a bot for the Discord chat service. Versions of Discord-Recon 0.0.3 and prior contain a vulnerability in which a remote attacker is able to overwrite any file on the system with the command results. This can result in remote code execution when the user overwrite important files on the system. As a workaround, bot maintainers can edit their `setting.py` file then add `<` and `>` into the `RCE` variable inside of it to fix the issue without an update. The vulnerability is patched in version 0.0.4.

(As written by CVE List.)

## Affected

- DEMON1A Discord-Recon: <= 0.0.3
- discord discord-recon: before 0.0.4

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/DEMON1A/Discord-Recon/security/advisories/GHSA-6pp2-rpj3-jcjx> (mitigation, third-party-advisory)

## Sources

- CVE List: [CVE-2021-29465](https://www.cve.org/CVERecord?id=CVE-2021-29465), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-29465](https://nvd.nist.gov/vuln/detail/CVE-2021-29465), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-29465 · Whole record: https://cve.day/CVE-2021-29465.json · Rebuilt by cve.day 2026-11-25T22:58:00.881Z
