Improper Neutralization of Special Elements Used in a Template Engine Affecting open-webui package, versions <0.6.37-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-OPENWEBUI-14103028
  • published24 Nov 2025
  • disclosed21 Nov 2025

Introduced: 21 Nov 2025

NewCVE-2025-65106  (opens in a new tab)
CWE-1336  (opens in a new tab)

How to fix?

Upgrade Chainguard open-webui to version 0.6.37-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream open-webui package and not the open-webui package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.