CVE-2026-12940
langflow: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CVE-2026-12940)
Beschreibung
IBM Langflow OSS 1.0.0 bis 1.10.1 sind anfällig für die unauthentifizierte Remote-Code-Ausführung durch Umgebungsvariablen-Injektion im MCP (Model Context Protocol) stdio-Launcher. Die Schwachstelle liegt in src/lfx/src/lfx/base/mcp/util.py, wo der DANGEROUS_ENV_VARS Blocklist die Umgebungsvariablen SHELLOPTS, BASHOPTS und PS4 nicht enthält.
Metriken
Weakness-Klassen (CWE)
CWE-78Base
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
cwe.mitre.org →
Re-Analyse & Statuswechsel
Chronologie der NVD-Audit-Events für diese CVE — Reanalyses, CVSS-Updates, CPE-Diffs.
- Initial Analysis2026-08-04 20:20 UTC· nvd@nist.gov
- CPE Configuration: OR *cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:* versions from (including) 1.0.0 up to (excluding) 1.10.2
- Reference Type: IBM Corporation: https://www.ibm.com/support/pages/node/7279995 Types: Vendor Advisory
- CVE Modified2026-07-30 19:17 UTC· 134c704f-9b21-4f2e-91b3-4a467353bcc0
- SSVC: {"id":"CVE-2026-12940","role":"CISA Coordinator","options":[{"exploitation":"none"},{"automatable":"yes"},{"technical…
Betroffene Produkte
Aus der Hersteller-/CERT-Meldung extrahierte Produkte und Versionsbereiche. Ein Version-Range wie „<4.14.6“ impliziert die Update-Empfehlung „auf 4.14.6 oder höher aktualisieren“.
langflow
langflow1.0.0 – 1.10.2