7.5 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
0.001 Low
EPSS
Percentile
31.9%
langchain is vulnerable to SQL Injection attacks. A specifically crafted attack statement through the _call
function in sql_database/base.py
allows a malicious user to inject and execute arbitrary SQL queries on the target system via the SQLDatabaseChain
component.
gist.github.com/rharang/9c58d39db8c01db5b7c888e467c0533f
github.com/advisories/GHSA-7q94-qpjr-xpgm
github.com/boazwasserman/langchain/commit/49f4445c858328d87e15c075f7052b8e67c24b65
github.com/hwchase17/langchain/issues/5923
github.com/hwchase17/langchain/pull/6051
github.com/langchain-ai/langchain/issues/5923#issuecomment-1696053841