Skip to main content

BotSharp EUVDEUVD-2026-97011

| CVE-2026-108860 CRITICAL
Use of Hard-coded Cryptographic Key (CWE-321)
2026-10-11 VulnCheck GHSA-w9f8-hvcg-hgcm
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain committed Jwt:Key from public repo
  2. Delivery
    Forge admin JWT with fixed issuer/audience
  3. Exploit
    Sign token with hard-coded HMAC secret
  4. Execution
    Send token to Authorize-protected API
  5. Impact
    Impersonate administrator and control application

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Key management, no hard-coded keys
Exploitation Conditions

Exploitation requires only that a BotSharp deployment runs with the default Jwt:Key shipped in the WebStarter appsettings.json (the committed HMAC secret) and uses the default 'botsharp' issuer and audience on its Authorize-protected API routes. There is no required authentication, user interaction, or special network position. The single effective limiting factor is operator remediation: deployments that rotated the signing key to a unique secret, or changed the issuer/audience, break the forgery; installations left with the committed defaults are exploitable by any remote unauthenticated attacker.

Impact

This is a genuine high-priority issue, not an inflated high-CVSS score. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a trivially reachable, network-based, unauthenticated attack with no special attack requirements, and the root cause (CWE-321 use of a hard-coded cryptographic key) means any attacker who reads the publicly committed Jwt:Key in BotSharp's appsettings.json can forge valid bearer tokens - the secret is in the public Git history referenced in the report. VC:H/VI:H reflect full confidentiality and integrity loss via administrator impersonation; VA:N correctly notes no direct availability impact. No EPSS score, CISA KEV entry, or structured POC flag is provided in the input, so there is no quantitative exploitation-probability signal and no confirmation of active exploitation. However, the VulnCheck advisory and the linked hackmd writeup describe the exact forging technique (sign with the committed HMAC secret plus the fixed 'botsharp' issuer/audience), so the barrier to weaponization is effectively zero even without a packaged exploit. The main signals are therefore consistent: easy, unauthenticated, high-impact, and low real-world footprint. The limiting factor on absolute risk is deployment prevalence rather than exploit difficulty - this is a niche open-source .NET AI-agent framework, so impact is high per-instance but the installed base is small.

Exploit ScenarioDerived

An attacker retrieves the hard-coded Jwt:Key committed in BotSharp's WebStarter appsettings.json from the public GitHub repository, then uses it to HMAC-sign a JWT with the fixed 'botsharp' issuer and audience and the username of a known administrator. They present this forged bearer token to any Authorize-protected API route and are accepted as that administrator, with no credentials or prior access required. No packaged public exploit is flagged, but the VulnCheck/hackmd writeups document the full token-forging method.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 11, 2026

Hard-coded JWT signing key in BotSharp through 5.2.0 allows unauthenticated remote attackers to forge bearer tokens and impersonate any user, including administrators, on Authorize-protected API routes. Exploitation requires the deployment to retain the default key and default 'botsharp' issuer/audience; rotating these values mitigates the issue. No public exploit code has been identified at the time of analysis, but the high impact and low complexity make this a genuine high-priority risk as confirmed by independent assessment.

RemediationAI

No vendor-released patch identified at time of analysis. To mitigate, immediately rotate the Jwt:Key to a unique, strong secret and change the issuer and audience from the default 'botsharp' values; these changes invalidate tokens forged with the committed key. Ensure secrets are stored outside source control, using environment variables or a secrets manager. Update all legitimate clients to use the new key and issuer/audience values. As an additional compensating control, restrict network access to Authorize-protected API routes where feasible, though this does not address the root cause. Monitor for anomalous token usage. For further guidance, refer to the VulnCheck advisory at https://www.vulncheck.com/advisories/botsharp-through-5.2.0-authentication-bypass-via-hard-coded-jwt-signing-key and the public analysis at https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/scisharp-botsharp-public-jwt-signing-key.

Affected VersionsENISA

BotSharp 0 ≤5.2.0

Affected Packages

euvd botsharp no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

BotSharp uses JSON Web Tokens (JWT) for API authentication, with HMAC-SHA256 signing configured via the Jwt:Key setting in appsettings.json and validated by BotSharpOpenApiExtensions.cs. The hard-coded key, committed to the repository, is a cryptographic secret (CWE-321: Use of Hard-coded Cryptographic Key), enabling attackers to sign arbitrary tokens with the same key. Because the issuer and audience are also fixed to 'botsharp', attackers can craft tokens that pass all validation checks, including signature, issuer, audience, and expiration, effectively bypassing authentication. The affected product is identified by CPE cpe:2.3:a:scisharp:botsharp:*:*:*:*:*:*:*:*, covering versions through 5.2.0.

Know when Botsharp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.1 CRITICAL

Publicly committed signing key makes forgery network-reachable, low-complexity, and unauthenticated (PR:N/AC:L); full user/admin impersonation yields C:H/I:H, with no availability impact (A:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

BotSharp deployments through 5.2.0 that retain default JWT settings are exposed to token forgery, allowing attackers to impersonate any user, including administrators, and access protected APIs. No public exploit identified at time of analysis, but the potential for administrative takeover and data exposure makes this a critical business risk. Leadership should prioritize immediate configuration changes and inventory review; no vendor-released patch identified at time of analysis.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis; rotate the default JWT signing key, change default 'botsharp' issuer and audience values, restrict network exposure of Authorize-protected APIs, and monitor for forged bearer tokens.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Low
niche open-source .NET AI-agent framework, limited production footprint
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy