{"data":{"id":"e1058d3c-a146-482c-b2bf-25f847753384","title":"CVE-2023-39659: An issue in langchain langchain-ai v.0.0.232 and before allows a remote attacker to execute arbitrary code via a…","summary":"CVE-2023-39659 affects langchain (langchain-ai) v.0.0.232 and earlier. A remote attacker can execute arbitrary code by sending a crafted script to the PythonAstREPLTool._run component. The source classifies the weakness as CWE-74, Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection').","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-39659","publishedAt":"2023-08-15T21:15:12.930Z","cveId":"CVE-2023-39659","cweIds":["CWE-74"],"cvssScore":"9.8","cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["langchain@< 0.0.325 (fixed: 0.0.325)"],"affectedPackageNames":["langchain"],"affectedPackageRefs":["pypi:langchain"],"affectedVendors":["LangChain"],"affectedVendorsRaw":["LangChain","PythonAstREPLTool"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"langchain arbitrary code execution through PythonAstREPLTool._run","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.01534,"epssCheckedAt":"2026-11-04T18:09:14.312Z","kevDateAdded":null,"advisoryAliases":["GHSA-prgp-w7vf-ch62"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:56:49.905Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2023-10-27T18:50:23.025Z","daysToFix":73,"fixCheckedAt":"2026-10-29T21:46:50.390Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"langchain","fixedVersion":"0.0.325","matchedVersion":"0.0.325","fixReleasedAt":"2023-10-27T18:50:23.025Z","daysToFix":73,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:46:50.240Z"}]}}