8.3

CVE-2025-65106: langchain-ai langchain

CVSS: 8.3v4.0HighDeferred
AliasesGHSA-6qv9-48xg-fc7fPYSEC-2026-1518CGA-2g3h-j5p4-hmq5
Published 21-11-2025Last modified 21-11-2025

Vulnerability summary

CVE-2025-65106 is a high (CVSS 8.3) vulnerability in langchain-ai langchain. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 41.8% of scored vulnerabilities.

Overall risk
33/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.3/10
010
High · v4.0 (CVE.org)
EPSS score
0.51%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 21-11-2025
    PublishedVulnerability first disclosed.
  2. 21-11-2025
    Last modifiedVulnerability information updated.

Description

LangChain is a framework for building agents and LLM-powered applications. From versions 0.3.79 and prior and 1.0.0 to 1.0.6, a template injection vulnerability exists in LangChain's prompt template system that allows attackers to access Python object internals through template syntax. This vulnerability affects applications that accept untrusted template strings (not just template variables) in ChatPromptTemplate and related prompt template classes. This issue has been patched in versions 0.3.80 and 1.0.7.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.51%

Chance of exploitation in the next 30 days

Percentile

42%

Versus all other CVEs

30-day change

0.00 pp

From 0.51% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.51%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard2 products
  • open-webui< 0.6.37-r0
  • open-webui-compat< 0.6.37-r0
Wolfi2 products
  • open-webui< 0.6.37-r0
  • open-webui-compat< 0.6.37-r0
Langchain-ai1 product
PyPI1 product
  • langchain-core< 0.3.80 | ≥ 1.0.0, < 1.0.7

4 vendors · 6 products

References

8 links