CVE-2023-38860
JSON

9.8critical

LangChain vulnerable to arbitrary code execution

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
1.41% (higher than 73% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-fj32-q626-pjjcPYSEC-2023-145

Description

An issue in LangChain v.0.0.231 allows a remote attacker to execute arbitrary code via the prompt parameter.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
langchain (PyPI)before 0.0.247GitHub Advisory Database, PyPA Advisory Database
langchain langchain0.0.231NVD

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

An issue in LangChain v.0.0.231 allows a remote attacker to execute arbitrary code via the prompt parameter.

GitHub Advisory Database

An issue in LangChain prior to v.0.0.247 allows a remote attacker to execute arbitrary code via the prompt parameter.

NVD (es)

Un problema en LangChain v.0.0.231 permite a un atacante remoto ejecutar código arbitrario a través del parámetro prompt.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-38860 changed 2024-10-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-fj32-q626-pjjc changed 2024-09-27CC-BY-4.0
NVDCVE-2023-38860 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2023-145 changed 2026-06-10CC-BY-4.0