<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Thu, 01 Oct 2026 12:31:43 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-65106 — LangChain Vulnerable to Template Injection via Attribute Access in Prompt Templates</title>
      <link>https://db.gcve.eu/vuln/cve-2025-65106</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; langchain-ai langchain&lt;/p&gt;
&lt;p&gt;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&amp;#39;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; langchain-ai langchain&lt;/p&gt;
&lt;p&gt;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&amp;#39;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2025-65106</guid>
    </item>
    <item>
      <title>GHSA-6qv9-48xg-fc7f — LangChain Vulnerable to Template Injection via Attribute Access in Prompt Templates</title>
      <link>https://db.gcve.eu/vuln/ghsa-6qv9-48xg-fc7f</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: langchain-core&lt;/p&gt;
&lt;p&gt;## Context&lt;/p&gt;
&lt;p&gt;A template injection vulnerability exists in LangChain&amp;#39;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.&lt;/p&gt;
&lt;p&gt;Templates allow attribute access (`.`) and indexing (`[]`) but not method invocation (`()`).&lt;/p&gt;
&lt;p&gt;The combination of attribute access and indexing may enable exploitation depending on which objects are passed to templates. When template variables are simple strings (the common case), the impact is limited. However, when using `MessagesPlaceholder` with chat message objects, attackers can traverse through object attributes and dictionary lookups (e.g., `__globals__`) to reach sensitive data such as environment variables.&lt;/p&gt;
&lt;p&gt;The vulnerability specifically requires that applications accept **template strings** (the structure) from untrusted sources, not just **template variables** (the data). Most applications either do not use templates or else use hardcoded templates and are not vulnerable.&lt;/p&gt;
&lt;p&gt;## Affected Components&lt;/p&gt;
&lt;p&gt;- `langchain-core` package
- Template formats:
  - F-string templates (`template_format=&amp;#34;f-string&amp;#34;`) - **Vulnerability fixed**
  - Mustache templates (`template_format=&amp;#34;mustache&amp;#34;`) - **Defensive hardening**
  - Jinja2 templates (`template_format=&amp;#34;jinja2&amp;#34;`) - **Defensive hardening**&lt;/p&gt;
&lt;p&gt;### Impact
Attackers who can control template s…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: langchain-core&lt;/p&gt;
&lt;p&gt;## Context&lt;/p&gt;
&lt;p&gt;A template injection vulnerability exists in LangChain&amp;#39;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.&lt;/p&gt;
&lt;p&gt;Templates allow attribute access (`.`) and indexing (`[]`) but not method invocation (`()`).&lt;/p&gt;
&lt;p&gt;The combination of attribute access and indexing may enable exploitation depending on which objects are passed to templates. When template variables are simple strings (the common case), the impact is limited. However, when using `MessagesPlaceholder` with chat message objects, attackers can traverse through object attributes and dictionary lookups (e.g., `__globals__`) to reach sensitive data such as environment variables.&lt;/p&gt;
&lt;p&gt;The vulnerability specifically requires that applications accept **template strings** (the structure) from untrusted sources, not just **template variables** (the data). Most applications either do not use templates or else use hardcoded templates and are not vulnerable.&lt;/p&gt;
&lt;p&gt;## Affected Components&lt;/p&gt;
&lt;p&gt;- `langchain-core` package
- Template formats:
  - F-string templates (`template_format=&amp;#34;f-string&amp;#34;`) - **Vulnerability fixed**
  - Mustache templates (`template_format=&amp;#34;mustache&amp;#34;`) - **Defensive hardening**
  - Jinja2 templates (`template_format=&amp;#34;jinja2&amp;#34;`) - **Defensive hardening**&lt;/p&gt;
&lt;p&gt;### Impact
Attackers who can control template s…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-6qv9-48xg-fc7f</guid>
    </item>
    <item>
      <title>PYSEC-2026-1518 — LangChain Vulnerable to Template Injection via Attribute Access in Prompt Templates</title>
      <link>https://db.gcve.eu/vuln/pysec-2026-1518</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: langchain-core&lt;/p&gt;
&lt;p&gt;## Context&lt;/p&gt;
&lt;p&gt;A template injection vulnerability exists in LangChain&amp;#39;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.&lt;/p&gt;
&lt;p&gt;Templates allow attribute access (`.`) and indexing (`[]`) but not method invocation (`()`).&lt;/p&gt;
&lt;p&gt;The combination of attribute access and indexing may enable exploitation depending on which objects are passed to templates. When template variables are simple strings (the common case), the impact is limited. However, when using `MessagesPlaceholder` with chat message objects, attackers can traverse through object attributes and dictionary lookups (e.g., `__globals__`) to reach sensitive data such as environment variables.&lt;/p&gt;
&lt;p&gt;The vulnerability specifically requires that applications accept **template strings** (the structure) from untrusted sources, not just **template variables** (the data). Most applications either do not use templates or else use hardcoded templates and are not vulnerable.&lt;/p&gt;
&lt;p&gt;## Affected Components&lt;/p&gt;
&lt;p&gt;- `langchain-core` package
- Template formats:
  - F-string templates (`template_format=&amp;#34;f-string&amp;#34;`) - **Vulnerability fixed**
  - Mustache templates (`template_format=&amp;#34;mustache&amp;#34;`) - **Defensive hardening**
  - Jinja2 templates (`template_format=&amp;#34;jinja2&amp;#34;`) - **Defensive hardening**&lt;/p&gt;
&lt;p&gt;### Impact
Attackers who can control template s…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: langchain-core&lt;/p&gt;
&lt;p&gt;## Context&lt;/p&gt;
&lt;p&gt;A template injection vulnerability exists in LangChain&amp;#39;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.&lt;/p&gt;
&lt;p&gt;Templates allow attribute access (`.`) and indexing (`[]`) but not method invocation (`()`).&lt;/p&gt;
&lt;p&gt;The combination of attribute access and indexing may enable exploitation depending on which objects are passed to templates. When template variables are simple strings (the common case), the impact is limited. However, when using `MessagesPlaceholder` with chat message objects, attackers can traverse through object attributes and dictionary lookups (e.g., `__globals__`) to reach sensitive data such as environment variables.&lt;/p&gt;
&lt;p&gt;The vulnerability specifically requires that applications accept **template strings** (the structure) from untrusted sources, not just **template variables** (the data). Most applications either do not use templates or else use hardcoded templates and are not vulnerable.&lt;/p&gt;
&lt;p&gt;## Affected Components&lt;/p&gt;
&lt;p&gt;- `langchain-core` package
- Template formats:
  - F-string templates (`template_format=&amp;#34;f-string&amp;#34;`) - **Vulnerability fixed**
  - Mustache templates (`template_format=&amp;#34;mustache&amp;#34;`) - **Defensive hardening**
  - Jinja2 templates (`template_format=&amp;#34;jinja2&amp;#34;`) - **Defensive hardening**&lt;/p&gt;
&lt;p&gt;### Impact
Attackers who can control template s…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/pysec-2026-1518</guid>
    </item>
  </channel>
</rss>
