CVE-2023-36095: langchain Code Injection vulnerability
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
A code injection vulnerability in LangChain allows attackers to execute arbitrary code via PALChain components. The issue affects versions prior to 0.0.236.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- langchain
- incident date
- 5 Aug 2023
- first reported
- 5 Aug 2023
- origin
- GitHub Advisory DatabaseVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2023-36095 · code-injection
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 2023-08-05CVE-2023-36095: langchain Code Injection vulnerabilityGitHub Advisory Database · github.com/advisories/GHSA-gwqq-6vq7-5j86
- 2023-08-05CVE-2023-36095: An issue in Harrison Chase langchain v.0.0.194 allows an attacker to execute arbitrary code via the python exec calls in the…NVD · nvd.nist.gov/vuln/detail/CVE-2023-36095
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2023-08-22CVE-2023-36281: LangChain arbitrary code execution vulnerability2 Disclosedon AIInfra vuln2 src
- 2023-08-15CVE-2023-39659: LangChain vulnerable to arbitrary code execution2 Disclosedon AIInfra vuln2 src
- 2023-08-15CVE-2023-38896: LangChain vulnerable to arbitrary code execution2 Disclosedon AIInfra vuln2 src
- 2023-10-21CVE-2023-32785: Langchain SQL Injection vulnerability2 Disclosedon AIInfra vulnPrompt inj.1 src
- 2023-06-14CVE-2023-34540: Langchain OS Command Injection vulnerability2 Disclosedon AIInfra vuln2 src
- 2023-04-05CVE-2023-29374: LangChain code injection via LLMMathChain2 Disclosedon AIInfra vulnPrompt inj.2 src