← Übersicht Nicht im beobachteten Stack

LangChain Core has Path Traversal vulnerabilites in legacy `load_prompt` functions

CVE-2026-34070 · CLSA-2026-1776126826 · GHSA-qh6h-p6c9-ff54 · PYSEC-2026-2193 · WID-SEC-W-2026-0896

Hoch · CVSS 7.5 BSI: mittelRed Hat: Important Netzwerk · ohne Login Kein Fix bekannt

Veröffentlicht
27.03.2026 00:00
Zuletzt geändert
17.11.2026
EPSS (30 Tage)
1.5 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Beschreibung

Originaltext der Quelle, nicht übersetzt.

LangChain is a framework for building agents and LLM-powered applications. Prior to version 1.2.22, multiple functions in langchain_core.prompts.loading read files from paths embedded in deserialized config dicts without validating against directory traversal or absolute path injection. When an application passes user-influenced prompt configurations to load_prompt() or load_prompt_from_config(), an attacker can read arbitrary files on the host filesystem, constrained only by file-extension checks (.txt for templates, .json/.yaml for examples). This issue has been patched in version 1.2.22.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 6 betroffen, 2 behoben, 3 nicht betroffen.

IBM MQ Agent Betroffen
Open Source LangChain <1.2.22 Betroffen
OpenShift Lightspeed BetroffenFix ausstehend openshift-lightspeed/lightspeed-service-api-rhel9
Red Hat Ansible Automation Platform 2 Betroffenwird nicht behoben ansible-automation-platform-24/lightspeed-rhel8, ansible-automation-platform-25/lightspeed-chatbot-rhel8, ansible-automation-platform-26/lightspeed-rhel9
Red Hat Ansible Automation Platform 2.5 Betroffen
Red Hat Enterprise Linux Betroffen
Red Hat Ansible Automation Platform 2.5 Behoben ansible-automation-platform-25/lightspeed-rhel8 RHSA-2026:24766, RHSA-2026:59159
Red Hat OpenShift AI 3.3 Behoben rhoai/odh-llama-stack-core-rhel9, rhoai/odh-trustyai-nemo-guardrails-server-rhel9 RHSA-2026:37275
Nicht betroffen (3)
Red Hat Ansible Automation Platform 2.5Nicht betroffenverwundbarer Code nicht enthaltenansible-automation-platform-25/aap-must-gather-rhel8, ansible-automation-platform-25/ansible-builder-rhel8, ansible-automation-platform-25/ansible-dev-tools-rhel8, ansible-automation-platform-25/ansible-python-base-rhel8, ansible-automation-platform-25/ansible-python-toolkit-rhel8, ansible-automation-platform-25/controller-rhel8, ansible-automation-platform-25/controller-rhel8-operator, ansible-automation-platform-25/de-minimal-rhel8, ansible-automation-platform-25/de-supported-rhel8, ansible-automation-platform-25/eda-controller-rhel8, ansible-automation-platform-25/eda-controller-rhel8-operator, ansible-automation-platform-25/eda-controller-ui-rhel8, ansible-automation-platform-25/ee-minimal-rhel8, ansible-automation-platform-25/ee-supported-rhel8, ansible-automation-platform-25/gateway-proxy-rhel8, ansible-automation-platform-25/gateway-rhel8, ansible-automation-platform-25/gateway-rhel8-operator, ansible-automation-platform-25/hub-rhel8, ansible-automation-platform-25/hub-rhel8-operator, ansible-automation-platform-25/hub-web-rhel8, ansible-automation-platform-25/lightspeed-rhel8-operator, ansible-automation-platform-25/platform-resource-rhel8-operator, ansible-automation-platform-25/platform-resource-runner-rhel8, ansible-automation-platform-25/receptor-rhel8, ansible-automation-platform/platform-operator-bundle
Red Hat OpenShift AI (RHOAI)Nicht betroffenKomponente nicht enthaltenrhoai/odh-mlflow-rhel9/odh-mlflow-rhel9
Red Hat OpenShift AI 3.3Nicht betroffenverwundbarer Code nicht enthaltenrhoai/odh-built-in-detector-rhel9, rhoai/odh-cli-rhel9, rhoai/odh-dashboard-rhel9, rhoai/odh-data-science-pipelines-argo-argoexec-rhel9, rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9, rhoai/odh-data-science-pipelines-operator-controller-rhel9, rhoai/odh-feast-operator-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-fms-guardrails-orchestrator-rhel9, rhoai/odh-guardrails-detector-huggingface-runtime-rhel9, rhoai/odh-kf-notebook-controller-rhel9, rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-controller-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-kserve-storage-initializer-rhel9, rhoai/odh-kube-auth-proxy-rhel9, rhoai/odh-kuberay-operator-controller-rhel9, rhoai/odh-llama-stack-k8s-operator-rhel9, rhoai/odh-llm-d-inference-scheduler-rhel9, rhoai/odh-llm-d-routing-sidecar-rhel9, rhoai/odh-maas-api-rhel9, rhoai/odh-ml-pipelines-api-server-v2-rhel9, rhoai/odh-ml-pipelines-driver-rhel9, rhoai/odh-ml-pipelines-launcher-rhel9, rhoai/odh-ml-pipelines-persistenceagent-v2-rhel9 und 56 weitere
Weitere betroffene Pakete (5)
CVElangchain-ai/langchainkein Fix bekanntCVE-2026-34070
NVDlangchain:langchain_core1.2.22CVE-2026-34070
PyPIlangchain-core1.2.22GHSA-qh6h-p6c9-ff54
PyPIlangchain-core1.2.22PYSEC-2026-2193
TuxCare:PyPIlangchain-core0.3.83.post0 → 0.3.83.post1+tuxcareCLSA-2026-1776126826

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.