← Übersicht Nicht im beobachteten Stack

LangChain Vulnerable to Template Injection via Attribute Access in Prompt Templates

CVE-2025-65106 · GHSA-6qv9-48xg-fc7f · PYSEC-2026-1518

Hoch · CVSS 8.3 Red Hat: Important Netzwerk · ohne Login Kein Fix bekannt

Veröffentlicht
20.11.2025 18:42
Zuletzt geändert
10.09.2026
EPSS (30 Tage)
0.5 %
CVSS-Vektor
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

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 4 betroffen, 2 nicht betroffen.

OpenShift Lightspeed BetroffenFix ausstehend openshift-lightspeed/lightspeed-service-api-rhel9
Red Hat Ansible Automation Platform 2 BetroffenFix ausstehend ansible-automation-platform-24/lightspeed-rhel8, ansible-automation-platform-25/lightspeed-chatbot-rhel8, ansible-automation-platform-25/lightspeed-rhel8, ansible-automation-platform-26/lightspeed-rhel9
Red Hat Enterprise Linux AI (RHEL AI) Betroffenwird nicht behoben rhelai1/bootc-amd-rhel9, rhelai1/bootc-aws-nvidia-rhel9, rhelai1/bootc-azure-amd-rhel9, rhelai1/bootc-azure-nvidia-rhel9, rhelai1/bootc-gcp-nvidia-rhel9, rhelai1/bootc-intel-rhel9, rhelai1/bootc-nvidia-rhel9, rhelai1/instructlab-amd-rhel9, rhelai1/instructlab-intel-rhel9, rhelai1/instructlab-nvidia-rhel9
Red Hat OpenShift AI (RHOAI) Betroffenwird nicht behoben rhoai/odh-llama-stack-core-rhel9
Nicht betroffen (2)
Red Hat Ansible Automation Platform 2Nicht betroffenverwundbarer Code nicht enthaltenansible-automation-platform-24/de-minimal-rhel8, ansible-automation-platform-24/de-minimal-rhel9, ansible-automation-platform-24/de-supported-rhel8, ansible-automation-platform-24/de-supported-rhel9, ansible-automation-platform-24/ee-minimal-rhel8, ansible-automation-platform-24/ee-minimal-rhel9, ansible-automation-platform-24/ee-supported-rhel8, ansible-automation-platform-24/ee-supported-rhel9, ansible-automation-platform-24/platform-resource-runner-rhel8, ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8, ansible-automation-platform-25/ansible-dev-tools-rhel8, ansible-automation-platform-25/de-minimal-rhel8, ansible-automation-platform-25/de-minimal-rhel9, ansible-automation-platform-25/de-supported-rhel8, ansible-automation-platform-25/de-supported-rhel9, ansible-automation-platform-25/ee-cloud-services-rhel9, ansible-automation-platform-25/ee-minimal-rhel8, ansible-automation-platform-25/ee-minimal-rhel9, ansible-automation-platform-25/ee-supported-rhel8, ansible-automation-platform-25/ee-supported-rhel9, ansible-automation-platform-25/platform-resource-runner-rhel8, ansible-automation-platform-26/ansible-dev-tools-rhel9, ansible-automation-platform-26/de-minimal-rhel9, ansible-automation-platform-26/de-supported-rhel9, ansible-automation-platform-26/ee-minimal-rhel9 und 7 weitere
Red Hat OpenShift AI (RHOAI)Nicht betroffenKomponente nicht enthaltenrhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9
Weitere betroffene Pakete (4)
CVElangchain-ai/langchainkein Fix bekanntCVE-2025-65106
PyPIlangchain-core1.0.0 → 1.0.7GHSA-6qv9-48xg-fc7f
PyPIlangchain-core0.3.80GHSA-6qv9-48xg-fc7f
PyPIlangchain-core0.3.80, 1.0.0 → 1.0.7PYSEC-2026-1518

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.