{"data":{"id":"a59d48d1-82c7-45b4-91a5-6813bdefea2a","title":"CVE-2023-39631: An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary code via the evaluate…","summary":"CVE-2023-39631 affects LangChain-ai Langchain v0.0.245. A remote attacker can execute arbitrary code through the evaluate function in the numexpr library. The weakness is classified as CWE-94, Improper Control of Generation of Code ('Code Injection').","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-39631","publishedAt":"2023-09-01T20:15:08.370Z","cveId":"CVE-2023-39631","cweIds":["CWE-94"],"cvssScore":"9.8","cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["langchain@< 0.0.308 (fixed: 0.0.308)","numexpr@< 2.8.5 (fixed: 2.8.5)"],"affectedPackageNames":["langchain","numexpr"],"affectedPackageRefs":["pypi:langchain","pypi:numexpr"],"affectedVendors":["LangChain"],"affectedVendorsRaw":["LangChain","LanChain-ai Langchain v0.0.245","numexpr"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"LanChain-ai Langchain code execution through evaluate function","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.016,"epssCheckedAt":"2026-11-04T12:08:35.001Z","kevDateAdded":null,"advisoryAliases":["GHSA-f73w-4m7g-ch9x"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:56:47.281Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2023-08-06T21:02:00.175Z","daysToFix":-26,"fixCheckedAt":"2026-10-29T21:46:47.720Z","capecIds":["CAPEC-242"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"langchain","fixedVersion":"0.0.308","matchedVersion":"0.0.308","fixReleasedAt":"2023-10-04T16:11:23.811Z","daysToFix":33,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:46:47.565Z"},{"ecosystem":"pypi","name":"numexpr","fixedVersion":"2.8.5","matchedVersion":"2.8.5","fixReleasedAt":"2023-08-06T21:02:00.175Z","daysToFix":-26,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:46:47.565Z"}]}}