VDB
Sign up
CRITICAL9.8

PYSEC-2023-147

Quick fix

PYSEC-2023-147 — langchain: upgrade to the fixed version with the command below.

pip install --upgrade 'langchain>=0.0.233'

Details

An issue in langchain langchain-ai v.0.0.232 and before allows a remote attacker to execute arbitrary code via a crafted script to the PythonAstREPLTool._run component.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/langchain
Introduced in: 0Fixed in: 0.0.233
Fixpip install --upgrade 'langchain>=0.0.233'

References