Medium

Exposure of Sensitive Information to an Unauthorized Actor in DisCatSharp

  • Disclosed: 22.04.2022
  • Updated: 11.10.2026 11:22

Impact

Users of versions 9.8.5, 9.8.6, 9.9.0 and previously published prereleases of 10.0.0 who have used either one of the two RequireDisCatSharpDeveloperAttributes or the BaseDiscordClient.LibraryDeveloperTeam have potentially had their bot token sent to a web server not affiliated with Discord. This server is owned and operated by DisCatSharp's development team. The tokens were not logged, yet it is still advisable to reset the tokens of potentially affected bots.

Patches

9.9.1 has been released to patch the issue for the current stable release and the current 10.0.0 prereleases are also no longer affected.

Workarounds

Remove all uses of the two RequireDisCatSharpDeveloperAttributes and all direct calls to BaseDiscordClient.LibraryDeveloperTeam.

Details

The HttpClient responsible for sending requests to the Discord API was erroneously reused to send requests to our website when DisCatSharp's team members were to be fetched.

For more information

If you have any questions or comments about this advisory:

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
.NET (NuGet) DisCatSharp >= 9.8.5, < 9.9.1 9.9.1

References

CVSS score 6.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-200
Platform
.NET (NuGet)
Package
DisCatSharp
Disclosed
22.04.2022
Updated
11.10.2026 11:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-frxg-hf44-q765 - CC BY 4.0

Vulnerability history: DisCatSharp

All published vulnerabilities of this package (.NET (NuGet)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
10.2018 04.2022
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 1

Disclosures per year

  1. 2018: 1
  2. 2019: 0
  3. 2020: 0
  4. 2021: 0
  5. 2022: 1
  6. 2023: 0
  7. 2024: 0
  8. 2025: 0
  9. 2026: 0
  1. Exposure of Sensitive Information to an Unauthorized Actor in DisCatSharp this entry
    Medium · 6.5 CVE-2022-24849 >= 9.8.5, < 9.9.1 9.9.1
  2. High · 7.3 CVE-2017-0249 <= 9.8.3 no fix

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.