{"id":"CVE-2023-38896","sourceIdentifier":"cve@mitre.org","published":"2023-08-15T17:15:12.027","lastModified":"2026-06-17T06:11:16.837","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"An issue in Harrison Chase langchain v.0.0.194 and before allows a remote attacker to execute arbitrary code via the from_math_prompt and from_colored_object_prompt functions."},{"lang":"es","value":"Un problema en langchain v.0.0.194 de Harrison Chase y anteriores permite a un atacante remoto ejecutar código arbitrario a través de las funciones from_math_prompt y from_colored_object_prompt."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-10-09T13:02:00.530034Z","id":"CVE-2023-38896","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-74"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*","versionEndIncluding":"0.0.194","matchCriteriaId":"684470ED-FCDD-4CE3-8BD5-7CCAB07F53B7"}]}]}],"references":[{"url":"https://github.com/hwchase17/langchain/issues/5872","source":"cve@mitre.org","tags":["Exploit","Issue Tracking","Patch"]},{"url":"https://github.com/hwchase17/langchain/pull/6003","source":"cve@mitre.org","tags":["Patch"]},{"url":"https://twitter.com/llm_sec/status/1668711587287375876","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://github.com/hwchase17/langchain/issues/5872","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Issue Tracking","Patch"]},{"url":"https://github.com/hwchase17/langchain/pull/6003","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://twitter.com/llm_sec/status/1668711587287375876","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]}]}