CVE-2023-34541Langchain
Critical 9.8 No auth needed
Follow: this CVE · Langchain · Langchain We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 69
- Auth required
- No
- Published
- Jun 20, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Langchain 0.0.171 is vulnerable to Arbitrary code execution in load_prompt.
What to do
- Apply the vendor's security update for Langchain.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | langchain |
< 0.0.247 |
0.0.247 |
pip install "langchain>=0.0.247" |
| PyPI | langchain |
< 0.0.247 |
0.0.247 |
pip install "langchain>=0.0.247" |
Per OSV / GitHub Advisories (GHSA-6643-h7h5-x9wh, PYSEC-2023-92). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| langchain | langchain | 0.0.171 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking