Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-45307: SudoBot, a Discord moderation bot, is vulnerable to privilege escalation and exploit of the `-config` command

37
Routine
HIGH 8.8UPGRADE

CVE-2024-45307 is a high-severity flaw (CVSS 8.8) affecting sudobot. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

SudoBot, a Discord moderation bot, is vulnerable to privilege escalation and exploit of the `-config` command in versions prior to 9.26.7. Anyone is theoretically able to update any configuration of the bot and potentially gain control over the bot's settings. Every version of v9 before v9.26.7 is affected. Other versions (e.g. v8) are not affected. Users should upgrade to version 9.26.7 to receive a patch. A workaround would be to create a comma

Why this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score8.8 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.3% (top 75%)
CISA exploited listNo
WeaknessCWE-285, CWE-862
Published2024-09-03
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: onesoftnet

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

onesoftnet sudobot UPGRADE
Affected: >= 9.0.0 and < 9.26.7
Fixed in: 9.26.7
Safe to downgrade to: a release before 9.0.0
1. Check installed version
apt-cache policy sudobot || rpm -q sudobot || sudobot --version
2. UPGRADE to 9.26.7 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade sudobot
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade sudobot
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 9.0.0 (Debian / Ubuntu)
apt-cache madison sudobot sudo apt install sudobot=<VERSION_BEFORE_9.0.0> sudo apt-mark hold sudobot
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list sudobot sudo dnf downgrade sudobot-<VERSION_BEFORE_9.0.0> sudo dnf versionlock add sudobot
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-45307?

sudobot: upgrade to 9.26.7. Exact commands for each OS are on this page.

Is CVE-2024-45307 being exploited?

CVE-2024-45307 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-45307 affect?

CVE-2024-45307 affects sudobot. Severity is high (CVSS 8.8). SudoBot, a Discord moderation bot, is vulnerable to privilege escalation and exploit of the `-config` command in versions prior to 9.26.7. Anyone is theoretically able to update any configuration of the bot and potentially gain control over

How urgent is CVE-2024-45307?

Priority 37/100. High severity

Software pages

Discord vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.