{"schema":"threatline.record/2","record":{"id":"CVE-2023-32785","aliases":["GHSA-8h5w-f6q9-wg35","PYSEC-2026-372"],"summary":"Rejected: DO NOT USE THIS CVE RECORD. ConsultIDs: CVE-2023-36189. Reason: This record is a duplicate of CVE-2023-36189. Notes: All CVE users should reference CVE-2023-36189 instead of this r","details":"In Langchain before 0.0.247, prompt injection allows execution of arbitrary code against the SQL service provided by the chain.","categories":["Libraries & packages"],"product":"langchain","vendor":"","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-8h5w-f6q9-wg35","source_modified_at":"2026-10-27T17:28:51Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"pip","name":"langchain"},"range":"< 0.0.247"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-8h5w-f6q9-wg35","source_modified_at":"2026-10-27T17:45:03.878754648Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"langchain","ecosystem":"PyPI","purl":"pkg:pypi/langchain"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.247"}]}],"versions":["0.0.1","0.0.10","0.0.100","0.0.101","0.0.101rc0","0.0.102","0.0.102rc0","0.0.103","0.0.104","0.0.105","0.0.106","0.0.107","0.0.108","0.0.109","0.0.11","0.0.110","0.0.111","0.0.112","0.0.113","0.0.114","0.0.115","0.0.116","0.0.117","0.0.118","0.0.119","0.0.12","0.0.120","0.0.121","0.0.122","0.0.123","0.0.124","0.0.125","0.0.126","0.0.127","0.0.128","0.0.129","0.0.13","0.0.130","0.0.131","0.0.132","0.0.133","0.0.134","0.0.135","0.0.136","0.0.137","0.0.138","0.0.139","0.0.14","0.0.140","0.0.141"]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-8h5w-f6q9-wg35","source_modified_at":"2026-10-27T17:28:51Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"pip","name":"langchain"},"version":"0.0.247"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-8h5w-f6q9-wg35","source_modified_at":"2026-10-27T17:45:03.878754648Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"langchain","ecosystem":"PyPI","purl":"pkg:pypi/langchain"},"version":"0.0.247"}],"cvss":9.8,"severity":"Critical","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2023-10-21T00:30:47Z","modified_at":"2026-10-27T17:45:03.878754648Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-8h5w-f6q9-wg35","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T17:28:51Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-32785","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2023-12-26T17:39:27.392Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-8h5w-f6q9-wg35","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T17:45:03.878754648Z"}],"sources":["GitHub Advisory Database","CVE List","OSV"],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32785","source":"GitHub Advisory Database"},{"url":"https://gist.github.com/rharang/9c58d39db8c01db5b7c888e467c0533f","source":"GitHub Advisory Database"},{"url":"https://github.com/langchain-ai/langchain/issues/5923#issuecomment-1696053841","source":"GitHub Advisory Database"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2026-372.yaml","source":"GitHub Advisory Database"},{"url":"https://pypi.org/project/langchain","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-8h5w-f6q9-wg35","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"REJECTED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-27T17:45:03.878754648Z","content_hash":"52ca98ae8c46029f6c16a7fb5de0390ac2ab4170450b9b2cfa3777a34bf09f91"}}
