{"id":"CVE-2023-36189","aliases":["GHSA-7q94-qpjr-xpgm","PYSEC-2023-110"],"url":"https://o3.security/vulnerability/CVE-2023-36189","summary":"langchain SQL Injection vulnerability","details":"SQL injection vulnerability in langchain before v0.0.247 allows a remote attacker to obtain sensitive information via the SQLDatabaseChain component.","published":"2023-07-06T00:00:00Z","modified":"2026-08-12T03:51:34.726068306Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":{"score":0.01248,"percentile":0.66583,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"langchain","fixedVersion":"0.0.247"}],"fix":{"url":"https://github.com/hwchase17/langchain/pull/6051","label":"hwchase17/langchain#6051"},"references":[{"type":"WEB","url":"https://gist.github.com/rharang/9c58d39db8c01db5b7c888e467c0533f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36189.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36189"},{"type":"REPORT","url":"https://github.com/hwchase17/langchain/issues/5923"},{"type":"REPORT","url":"https://github.com/langchain-ai/langchain/issues/5923#issuecomment-1696053841"},{"type":"FIX","url":"https://github.com/hwchase17/langchain/pull/6051"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:34.726068306Z"}}