{"id":"CVE-2026-108860","published":"2026-10-11T14:17:05.933","lastModified":"2026-10-16T19:18:44.867","description":"BotSharp through 5.2.0 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to forge bearer tokens using the hard-coded Jwt:Key in WebStarter appsettings.json. Attackers can sign tokens with the committed HMAC secret and fixed botsharp issuer and audience to impersonate any known user, including administrators, on Authorize-protected API routes.","cvssScore":9.1,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","cwes":["CWE-321"],"vendors":[],"products":[],"references":[{"url":"https://github.com/SciSharp/BotSharp","tags":[]},{"url":"https://github.com/SciSharp/BotSharp/blob/a11ee0317cab5c619df1cb5d0c4fc39d1b6e30b4/src/Infrastructure/BotSharp.OpenAPI/BotSharpOpenApiExtensions.cs#L46-L57","tags":[]},{"url":"https://github.com/SciSharp/BotSharp/blob/a11ee0317cab5c619df1cb5d0c4fc39d1b6e30b4/src/WebStarter/appsettings.json#L16-L20","tags":[]},{"url":"https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/scisharp-botsharp-public-jwt-signing-key","tags":[]},{"url":"https://www.vulncheck.com/advisories/botsharp-through-5.2.0-authentication-bypass-via-hard-coded-jwt-signing-key","tags":[]}],"exploitRefs":[{"url":"https://github.com/SciSharp/BotSharp","tags":[]},{"url":"https://github.com/SciSharp/BotSharp/blob/a11ee0317cab5c619df1cb5d0c4fc39d1b6e30b4/src/Infrastructure/BotSharp.OpenAPI/BotSharpOpenApiExtensions.cs#L46-L57","tags":[]},{"url":"https://github.com/SciSharp/BotSharp/blob/a11ee0317cab5c619df1cb5d0c4fc39d1b6e30b4/src/WebStarter/appsettings.json#L16-L20","tags":[]}],"hasPoc":true,"ai":{"summary":"BotSharp contains a critical authentication bypass vulnerability where attackers can forge JWT bearer tokens using a hard-coded HMAC secret, allowing them to impersonate any known user including administrators without authentication.","exploitability":"The vulnerability is highly exploitable with no prerequisites since the JWT signing key is hardcoded in the application configuration, making token forging trivial for any remote attacker.","blast_radius":"The impact could be severe across all BotSharp instances using versions 5.2.0 or earlier, potentially allowing attackers to gain administrative access to sensitive systems and data.","remediation":"Upgrade to BotSharp version 5.2.1 or later to address the hardcoded JWT key vulnerability.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["auth-bypass","jwt","api"],"model":"garnet-coder","analyzedAt":"2026-10-13T08:49:45.691Z"}}