SQL injection vulnerability in langchain before v0.0.247 allows a remote attacker to obtain sensitive information via the SQLDatabaseChain component.
https://github.com/langchain-ai/langchain/issues/5923#issuecomment-1696053841
https://github.com/hwchase17/langchain/pull/6051
https://github.com/hwchase17/langchain/issues/5923
https://gist.github.com/rharang/9c58d39db8c01db5b7c888e467c0533f
Published: 2023-07-06
Updated: 2026-06-17
Base Score: 7.8
Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N
Severity: High
Base Score: 7.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Severity: High
Base Score: 8.7
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Severity: High
EPSS: 0.00225