PT-2026-110179 · Botsharp · Botsharp
CVSS v3.1
9.1
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
BotSharp versions prior to 5.2.1
Description
An authentication bypass exists that allows unauthenticated remote attackers to forge bearer tokens. This is possible because the
WebStarter appsettings.json file contains a hard-coded Jwt:Key. Attackers can use this committed HMAC secret, along with a fixed botsharp issuer and audience, to sign tokens and impersonate any known user, including administrators, when accessing Authorize-protected API routes.Recommendations
Replace the default JWT signing key with a unique, cryptographically secure secret.
Restrict external API access immediately.
Invalidate existing tokens and review privileged accounts for suspicious historical access.
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Botsharp