{"data":{"id":"ef9ff595-1f9e-48a2-810a-021883ea413f","title":"CVE-2023-36189: SQL injection vulnerability in langchain before v0.0.247 allows a remote attacker to obtain sensitive information via…","summary":"CVE-2023-36189 is a SQL injection vulnerability in langchain before v0.0.247. A remote attacker can exploit it through the SQLDatabaseChain component to obtain sensitive information. The NVD has not yet provided an assessment, and the source lists CWE-89 as the weakness.","solution":"The source links a patch in the pull request at https://github.com/hwchase17/langchain/pull/6051, and its advisory references include the langchain-ai/langchain issue thread. The source does not state a fixed version or a configuration workaround.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-36189","publishedAt":"2023-07-06T18:15:10.707Z","cveId":"CVE-2023-36189","cweIds":["CWE-89","CWE-89"],"cvssScore":"7.5","cvssSeverity":"high","severity":"high","attackType":["data_extraction"],"issueType":"vulnerability","affectedPackages":["langchain@>= 0, < 0.0.247 (fixed: 0.0.247)"],"affectedPackageNames":["langchain"],"affectedPackageRefs":["pypi:langchain"],"affectedVendors":["LangChain"],"affectedVendorsRaw":["LangChain","SQLDatabaseChain"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"langchain SQL injection in SQLDatabaseChain component","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.01248,"epssCheckedAt":"2026-11-04T00:12:27.299Z","kevDateAdded":null,"advisoryAliases":["GHSA-7q94-qpjr-xpgm"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:56:55.136Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2023-07-29T00:17:38.401Z","daysToFix":23,"fixCheckedAt":"2026-10-29T21:46:57.126Z","capecIds":["CAPEC-66"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"langchain","fixedVersion":"0.0.247","matchedVersion":"0.0.247","fixReleasedAt":"2023-07-29T00:17:38.401Z","daysToFix":23,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:46:56.977Z"}]}}