LangChainPublished 20 Jun 2023NVD status: Modified

CVE-2023-34541

Langchain 0.0.171 is vulnerable to Arbitrary code execution in load_prompt.

ComponentLangChain
Severitycritical (CVSS 9.8)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published (NVD)2023-06-20
Last modified2026-06-17
Affected versions
< 0.0.247
from the GitHub-reviewed advisory GHSA-6643-h7h5-x9wh
Fixed in0.0.247
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis reads = 0.0.171. The ranges above come from the GitHub-reviewed advisory GHSA-6643-h7h5-x9wh. The page and the scanner follow it: no more trusted source, and no two sources together, say otherwise (see the methodology).

NVD description

Langchain 0.0.171 is vulnerable to Arbitrary code execution in load_prompt.

What to do

  • Upgrade LangChain to 0.0.247 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources