{"cve":"CVE-2023-36189","nvd":{"published":"2023-07-06T14:15:10.707","modified":"2026-06-17T06:05:52.140","status":"Modified","description":"SQL injection vulnerability in langchain before v0.0.247 allows a remote attacker to obtain sensitive information via the SQLDatabaseChain component.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-89"],"references":["https://gist.github.com/rharang/9c58d39db8c01db5b7c888e467c0533f","https://github.com/hwchase17/langchain/issues/5923","https://github.com/hwchase17/langchain/pull/6051","https://github.com/langchain-ai/langchain/issues/5923#issuecomment-1696053841","https://gist.github.com/rharang/9c58d39db8c01db5b7c888e467c0533f"],"products":["langchain:langchain"],"source":"nvd","synced_at":"2026-10-19T21:38:30.124994567+00:00"},"epss":{"cve":"CVE-2023-36189","score":0.01248,"percentile":0.69351,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7q94-qpjr-xpgm","url":"https://osv.dev/vulnerability/GHSA-7q94-qpjr-xpgm","summary":"langchain SQL Injection vulnerability","modified":"2024-10-21T21:01:20.237777Z","packages":[{"ecosystem":"PyPI","name":"langchain","purl":"pkg:pypi/langchain","ranges":["<0.0.247"],"fixed":["0.0.247"]}]},{"id":"PYSEC-2023-110","url":"https://osv.dev/vulnerability/PYSEC-2023-110","summary":"","modified":"2026-06-10T17:01:09.253570203Z","packages":[{"ecosystem":"PyPI","name":"langchain","purl":"pkg:pypi/langchain","ranges":["<0.0.247"],"fixed":["0.0.247"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}