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.
Published: 2026-10-11
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Authentication Bypass
Action: Apply Patch
AI Analysis

Impact

Blindly using a hard‑coded JWT signing key in BotSharp allows an attacker to forge bearer tokens. By signing the token with the known HMAC secret, the attacker can create a valid token that impersonates any user, including administrators, and bypasses authentication on protected API routes. This is a classic authentication bypass that can lead to privilege escalation, listed as CWE‑321.

Affected Systems

The vulnerability affects BotSharp versions up to and including 5.2.0 from SciSharp. The hard‑coded key is stored in the WebStarter appsettings.json file, and the issuer and audience are fixed, enabling token forgery for any known user.

Risk and Exploitability

The CVSS score of 9.3 marks it as Critical, with a high exploitation risk. The EPSS is not available, and it is not listed in the CISA KEV catalogue. An unauthenticated remote attacker can fabricate a signed JWT and immediately impersonate privileged users, making this vulnerability exploitable via remote web interfaces that accept bearer tokens.

Generated by OpenCVE AI on October 11, 2026 at 15:41 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade BotSharp to the latest release that removes the hard‑coded JWT key and introduces secure key management.
  • If an upgrade is not feasible, replace the hard‑coded key in appsettings.json with a strong, randomly generated secret and ensure the issuer and audience are not publicly documented.
  • Enable detailed logging of authentication attempts and monitor for unexpected bearer tokens to detect attempted privilege escalation.

Generated by OpenCVE AI on October 11, 2026 at 15:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 13 Oct 2026 08:15:00 +0000

Type Values Removed Values Added
First Time appeared Scisharp
Scisharp botsharp
Vendors & Products Scisharp
Scisharp botsharp

Sun, 11 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
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.
Title BotSharp through 5.2.0 Authentication Bypass via Hard-Coded JWT Signing Key
Weaknesses CWE-321
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Scisharp Botsharp
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-14T16:47:26.986Z

Reserved: 2026-10-11T13:12:04.527Z

Link: CVE-2026-108860

cve-icon Vulnrichment

Updated: 2026-10-14T16:47:22.588Z

cve-icon NVD

Status : Deferred

Published: 2026-10-11T14:17:05.933

Modified: 2026-10-16T19:18:44.867

Link: CVE-2026-108860

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T07:57:26Z

Weaknesses
  • CWE-321

    Use of Hard-coded Cryptographic Key