CVE-2023-36095: An issue in Harrison Chase langchain v.0.0.194 allows an attacker to execute arbitrary code via the python...
An issue in Harrison Chase langchain v.0.0.194 allows an attacker to execute arbitrary code via the python exec calls in the PALChain, affected functions include from_math_prompt and from_colored_object_prompt.
Security readout for executives and security teams
Plain-English summary
CVE-2023-36095 concerns LangChain v0.0.194 behavior where PALChain uses Python exec paths tied to from_math_prompt and from_colored_object_prompt. If an application exposes those paths to attacker-controlled input, arbitrary code execution may be possible. The sources do not provide a CVSS score, confirmed exploitation, or a named patched version.
Executive priority
Prioritize assessment where LangChain is used in production AI features. Treat reachable affected PALChain usage as urgent, but avoid claiming active exploitation without new evidence.
Technical view
The CVE describes arbitrary code execution in Harrison Chase/langchain v0.0.194 through Python exec calls in PALChain, specifically affecting from_math_prompt and from_colored_object_prompt. The public bundle references the LangChain repository and GitHub issue #5872, but does not include CWE mapping, CVSS vectors, CPEs, or official remediation details.
Likely exposure
Exposure is most likely in applications pinned to langchain v0.0.194 that use PALChain builders from_math_prompt or from_colored_object_prompt with untrusted or user-influenced prompts.
Exploitation context
The bundle does not cite active exploitation, and the CVE is not marked KEV. Risk is still material because the described impact is arbitrary code execution when vulnerable code paths are reachable.
Researcher notes
Evidence is sparse: no CVSS, CWE, CPE, patch version, or exploit confirmation appears in the provided bundle. Validate against actual application data flow before assigning exploitability.
Mitigation direction
Inventory applications using langchain v0.0.194.
Check LangChain issue #5872 and repository guidance for remediation.
Avoid exposing affected PALChain paths to untrusted input.
Upgrade only according to confirmed vendor or project guidance.
Validation and detection
Check dependency manifests and lockfiles for langchain v0.0.194.
Search code for PALChain, from_math_prompt, and from_colored_object_prompt usage.
Trace whether user-controlled input reaches those PALChain builders.
Record findings where affected functions are unused or unreachable.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
description · low confidence lookup
Execution behavior lookup
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
2ADP providers
3Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
Aug 5, 2023, 00:00 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.