Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The langchain-core package versions before 0.3.80 and from 1.0.0 before 1.0.7 are affected by a template injection flaw in prompt templates. An attacker who can supply untrusted template strings, not just template variables, can use attribute access and indexing to reach Python object internals, such as environment variables via MessagesPlaceholder with chat message objects. Upgrade langchain-core to 0.3.80 or 1.0.7. The source gives few details on the Jinja2 hardening beyond the fixed versions.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.3 | High | 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0052, the 45th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 19 Nov 2025, 22:33 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:34 UTC First seen by agentprime
- 31 Oct 2026, 14:34 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-6qv9-48xg-fc7f
- OSV: GHSA-6qv9-48xg-fc7f
- github.com/langchain-ai/langchain/security/advisories/GHSA-6qv9-48xg-fc7f
- nvd.nist.gov/vuln/detail/CVE-2025-65106
- github.com/langchain-ai/langchain/commit/c4b6ba254e1a49ed91f2e268e6484011c540542a
- github.com/langchain-ai/langchain/commit/fa7789d6c21222b85211755d822ef698d3b34e00
- github.com/langchain-ai/langchain