Skip to main content
← All vulnerabilities
CVE-2023-36281GHSA-7GFQ-F96F-G85JPYSEC-2023-151

An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via a JSON file to load_prompt.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.0.312, 0.0.171
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via a JSON file to load_prompt. This is related to subclasses or a template.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • langchainPyPI

    fixed in 0.0.312

  • langchainPyPI

    fixed in 0.0.171

References 4

GitHub · hwchase17/langchain

aisec.today

GitHub · langchain-ai/langchain

GitHub · tagomaru/CVE-2023-36281