{"data":{"id":"e79f8579-f3d7-4824-b15d-bbaee97c5ae9","title":"CVE-2023-38860: An issue in LangChain v.0.0.231 allows a remote attacker to execute arbitrary code via the prompt parameter.","summary":"CVE-2023-38860 affects LangChain v.0.0.231. The source states that a remote attacker can execute arbitrary code through the prompt parameter. The weakness is classified as CWE-94, Improper Control of Generation of Code ('Code Injection'), and NIST has not yet provided an assessment.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-38860","publishedAt":"2023-08-15T21:15:11.737Z","cveId":"CVE-2023-38860","cweIds":["CWE-94"],"cvssScore":"9.8","cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["langchain@>= 0, < 0.0.247 (fixed: 0.0.247)"],"affectedPackageNames":["langchain"],"affectedPackageRefs":["pypi:langchain"],"affectedVendors":["LangChain"],"affectedVendorsRaw":["LangChain"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"LangChain arbitrary code execution via prompt parameter","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.01417,"epssCheckedAt":"2026-11-04T18:09:14.608Z","kevDateAdded":null,"advisoryAliases":["GHSA-fj32-q626-pjjc"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:56:50.925Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2023-07-29T00:17:38.401Z","daysToFix":-17,"fixCheckedAt":"2026-10-29T21:46:51.917Z","capecIds":["CAPEC-242"],"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.247","matchedVersion":"0.0.247","fixReleasedAt":"2023-07-29T00:17:38.401Z","daysToFix":-17,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:46:51.766Z"}]}}