Technical impact
The ExecuteSqlQuery method in SqlDriverController.cs accepts a conversationId parameter that is used to identify a conversation context. An attacker can supply a crafted conversationId value to bypass the existing authorization logic, enabling the execution of arbitrary SQL queries against the BotSharp database. This allows the retrieval, modification, or deletion of stored data, potentially leading to data loss, confidentiality violations, or further compromise of the underlying system.
Affected Systems
All SciSharp BotSharp installations that have not incorporated the patch associated with commit 576df239d810553b1b4f79eb470e4d6e694cc76d are affected. The vulnerability exists in the BotSharp.Plugin.SqlDriver component and applies to any version running the unpatched source code.
Risk and Exploitability
The CVSS score of 5.3 indicates a moderate severity. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no currently reported public exploitation. However, because the flaw allows unauthorized remote access via the public API endpoint used to invoke ExecuteSqlQuery, an attacker can remotely submit a forged conversationId and gain unauthorized database access. The likely attack vector is an unauthenticated API call to the SqlDriver endpoint, inferred from the description of missing authorization checks.