{"data":{"id":"a308d573-66fb-4163-acf8-c507ff2ed7d3","title":"CVE-2023-36095: An issue in Harrison Chase langchain v.0.0.194 allows an attacker to execute arbitrary code via the python exec calls…","summary":"CVE-2023-36095 affects langchain v.0.0.194. An attacker can execute arbitrary code through the python exec calls in PALChain, reached via the functions from_math_prompt and from_colored_object_prompt. 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-36095","publishedAt":"2023-08-05T07:15:13.580Z","cveId":"CVE-2023-36095","cweIds":["CWE-94"],"cvssScore":"9.8","cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["langchain@< 0.0.236 (fixed: 0.0.236)"],"affectedPackageNames":["langchain"],"affectedPackageRefs":["pypi:langchain"],"affectedVendors":["LangChain"],"affectedVendorsRaw":["LangChain"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"langchain arbitrary code execution through PALChain python exec calls","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.0117,"epssCheckedAt":"2026-11-04T12:08:34.749Z","kevDateAdded":null,"advisoryAliases":["GHSA-gwqq-6vq7-5j86"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:56:51.966Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2023-07-19T14:52:31.084Z","daysToFix":-17,"fixCheckedAt":"2026-10-29T21:46:54.841Z","capecIds":["CAPEC-242"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"framework","llmSpecific":true,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"langchain","fixedVersion":"0.0.236","matchedVersion":"0.0.236","fixReleasedAt":"2023-07-19T14:52:31.084Z","daysToFix":-17,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:46:54.689Z"}]}}