CVE-2023-36281

Critical

Description

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductLangchain
PublishedAug 22, 2023
First seenAug 22, 2023

How to fix

Update
  • langchain0.0.312, 0.0.171 or later

Affected products

ProductAffected versionsFixed in
langchain langchain0.0.171—
langchainPyPIv < 0.0.312, v < 0.0.1710.0.312, 0.0.171

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.