Langflow Inclusion of Functionality from Untrusted Control Sphere Vulnerability (CVE-2026-0770)
Published Last modified In CISA KEV since Sources: CVE.org, SingCERT, pwn.watch, OSV
- Actively exploited
- Source: VulnCheck KEV (opens in a new tab), CSA/SingCERT How we classify
- Public exploit
What is affected, what to do
Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow.
The vulnerability is being actively exploited; treat it as a priority. The available sources name no fixed version. Check the vendor guidance in the references below. Immediate actions, mitigation and detection rules are in the runbook below.
- Affected
- Langflow
eq 1.4.2..1.4.2
- Langflow
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
9.8
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
9.8
CVSS v3
Severity Critical on the scale from 0 to 10.
Source: CVE.org, SingCERT, pwn.watch, OSV
62.6 %
EPSS score
High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
Source: FIRST EPSS, percentile 99.19
Show all metrics
- Severity
- Critical
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 241.30 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- actively exploitedSource: VulnCheck KEV (opens in a new tab), CSA/SingCERT How we classify
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 9.8 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 9.8
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 62.6 %
- High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 99.19
- Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- Actively exploited
- Published
In CISA KEV since
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- CISA assessment (SSVC)
- Exploitation: active · automatable · Technical impact: total
- Source: CISA Vulnrichment, as of 23 January 2026
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-829
Response and mitigation
Why act now?
Prioritisation rationale
This flaw is network-reachable with no authentication and no user interaction, and it yields code execution as root. A single request is enough for full compromise of confidentiality, integrity and availability. Its exploitation likelihood ranks among the very highest of all tracked CVEs. Exposed Langflow servers are mass-scanned, typically for cryptomining, botnet enrolment and harvesting high-value LLM and cloud API keys. CISA records no known ransomware use. Treat any internet-facing instance as critical with immediate action, and internal instances holding production credentials as high. Isolated dev instances with no external reachability can follow the regular patch cycle.
Runbook step 1
Immediate response (0-24 h)
- Kill internet exposure now: Inventory every Langflow instance (default port 7860/TCP plus any reverse-proxy front ends) and cut all internet-reachable access via perimeter firewall, security group or ingress removal. No authentication is needed to exploit this flaw, so treat any instance that was reachable as potentially compromised.
- Identify affected versions: The context lists Langflow 1.4.2 and 1.7.3 as affected, along with PyPI
langflow0.0.32, 0.0.33, 0.0.40, 0.0.44, 0.0.45 and 0.0.46. Confirm the installed version viapip show langflowor the container image tag. A patch is available from the vendor — look up the fixed version in the vendor advisory or the ZDI advisory (ZDI-CAN-27325) and verify it before rollout. - Block the
validateendpoint: Until you upgrade, have the reverse proxy or WAF return 403 for/api/v1/validate/(especially/api/v1/validate/code). Normal flow execution does not depend on it. - Preserve evidence, then rebuild: For previously exposed hosts, capture a container or host snapshot, access logs and the running process list. Then rebuild from a trusted image rather than attempting cleanup, because attacker code ran as root.
- Rotate secrets: Rotate every LLM provider API key stored in Langflow (OpenAI, Azure, Anthropic, etc.), plus vector DB, database and cloud credentials,
LANGFLOW_SECRET_KEYand all process environment variables. If flows handled personal data, assess GDPR and NIS2 notification duties.
Runbook step 2
Mitigation layers
- Network segmentation: Run Langflow only on an internal dev or management VLAN. Allow access solely through VPN or a zero-trust proxy that enforces authentication upfront (e.g. OIDC via oauth2-proxy), and never publish 7860 directly.
- WAF/IPS rule: Drop request bodies to
/api/v1/validate/*that containexec_globals,__import__,os.system,subprocess,eval(orexec(. A Suricata starting point ishttp.uri; content:"/api/v1/validate"; http.request_body; content:"exec_globals"; nocase;withalertordrop. - Container hardening: Run the container as non-root (
USERorrunAsNonRoot: true) withcap_drop: ALLandreadOnlyRootFilesystem, keeping the default seccomp/AppArmor profiles. Do not mount the Docker socket or host paths. - Egress filtering: Restrict outbound traffic from Langflow hosts to an allowlist of the required LLM and API endpoints. This breaks reverse shells, stage-two downloads and exfiltration.
- Configuration and IAM: Set
LANGFLOW_AUTO_LOGIN=falseand use strong superuser credentials. Scope the host's cloud role or service account to least privilege, and block the instance metadata service (169.254.169.254) or enforce IMDSv2.
Runbook step 3
Detection rules
- Web/proxy access logs: Look for POSTs to
/api/v1/validate/codeor/api/v1/validate/*from external or unknown source IPs, especially without a preceding login session. SPL:index=proxy uri_path="/api/v1/validate/*" http_method=POST | stats count by src_ip, uri_path, status. - EDR process ancestry: Alert when the Langflow Python or uvicorn process spawns
sh,bash,curl,wget,nc,python -corbase64. KQL:DeviceProcessEvents | where InitiatingProcessCommandLine has "langflow" and FileName in~ ("sh","bash","curl","wget","nc"). - Linux auditd / Sysmon for Linux (EID 1): Watch for
execveevents withuid=0whose parent is the Langflow worker, e.g.-a always,exit -F arch=b64 -S execve -F ppid=<langflow_pid> -k langflow_exec. A Sigma rule should matchParentImage|endswith: python*andParentCommandLine|contains: langflow. - Network telemetry (Zeek/Suricata): Flag new outbound connections from Langflow hosts to unfamiliar IPs, odd ports, or paste and file-sharing services. Treat container requests to 169.254.169.254 as suspicious, and diff
conn.logandhttp.logagainst the egress baseline. - Persistence artefacts: Hunt for new cron entries, modified
~/.ssh/authorized_keys, unknown binaries in/tmpor/dev/shm, and coin-miner processes with sustained high CPU on Langflow hosts.
- Web/proxy access logs: Look for POSTs to
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
Description
Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of the exec_globals parameter provided to the validate endpoint. The issue results from the inclusion of a resource from an untrusted control sphere. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-27325.
Source: CISA KEV Catalog, NVD (NIST), CVE.org (MITRE), CSA/SingCERT, pwn.watch, OSV (Open Source Vulnerabilities), cvelistv5
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| Langflow | Langflow |
|
|
| langflow | langflow |
|
|
| pypi | langflow |
|
|
Vendors and products
Weakness classes (CWE)
CWE-829Inclusion of Functionality from Untrusted Control Sphere
Base
The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.
Entry at MITRE CWE-829
Public exploit references
Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.
| CISA KEV Catalog | CISA Known Exploited Vulnerability (opens in a new tab)cisa.gov | actively exploited | |
| CSA/SingCERT | Critical Vulnerability in Langflow (opens in a new tab)CSA/SingCERT | actively exploited | |
| GitHub | affix/CVE-2026-0770-PoC (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | — |
| PoC-in-GitHub (nomi-sec) | cve-2026-0770-langflow_rce_reproduction (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-0770 (opens in a new tab)github.com | PoC (publicly reported)reported, not verified |
References & sources
- NVD (NIST)NVD: CVE-2026-0770advisory, pwn-watch
- github.comaffix/CVE-2026-0770-PoCweb
- github.comlangflow-ai/langflowpackage
- zerodayinitiative.comadvisories/ZDI-26-036web
- zerodayinitiative.comZDI-26-036x_research-advisory
- cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2026-0770government-resource
- pwn.watchpwn.watch: Langflow Langflow: Langflow Inclusion of Functionality from Untrusted Control Sphere Vulnerabilitypwn-watch
- github.comLangflow Langflow — CVE-2026-0770pwn-watch
- cisa.govCISA Known Exploited Vulnerabilities Catalogpwn-watch
Changes to this CVE
Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).
Record modifiedCISA ADP
CISA assessment (SSVC): exploitation: active, automatable: yes
Show the original change
Individual changes of this event as published by NVD Type Action Before After SSVC assessment changed {"id":"CVE-2026-0770","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"yes"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-07-21T15:45:21.869284Z"}{"id":"CVE-2026-0770","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"yes"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-01-23T00:00:00+00:00"}Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
NVD analysis modifiedNVD
Product mapping changed:- IBM Langflow OSS (through 1.7.3)
Show 2 original changes
Individual changes of this event as published by NVD Type Action Before After Product configuration changed OR *cpe:2.3:a:langflow:langflow:1.4.2:-:*:*:*:*:*:*OR *cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:* versions up to (including) 1.7.3Reference type added —CISA-ADP: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-0770 Types: US Government ResourceSource identifier: nvd@nist.gov
Record modifiedCISA ADP
CISA assessment (SSVC): exploitation: active, automatable: yes
Show 2 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-0770SSVC assessment changed {"id":"CVE-2026-0770","role":"CISA Coordinator","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-02-24T04:56:28.363525Z"}{"id":"CVE-2026-0770","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"yes"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-07-21T15:45:21.869284Z"}Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
CISA KEV entry updated9119a7d8…
4 individual changes: Date Added, Due Date, Required Action, Vulnerability Name
Show 4 original changes
Individual changes of this event as published by NVD Type Action Before After Date Added added —2026-07-21Due Date added —2026-07-21Required Action added —2026-07-21Vulnerability Name added —2026-07-21Source identifier: 9119a7d8-5eab-497f-8521-727c672e3725
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2026-0770"><img src="https://intel.neosec.eu/badge/cve/CVE-2026-0770.svg?lang=en" alt="CVE-2026-0770 – NEOSEC Intel" height="20"></a>