Langflow CVE-2026-0770 KEV: NC SMB Shadow AI Defense July 2026

Second Langflow zero-day exploit added to CISA KEV July 21. NC SMB shadow AI platform governance and containment playbook. (336) 886-3282.

Cover Image for Langflow CVE-2026-0770 KEV: NC SMB Shadow AI Defense July 2026

TL;DR: On July 21, 2026, CISA added CVE-2026-0770 to the Known Exploited Vulnerabilities catalog. It is the fourth Langflow CVE elevated to KEV in the last twelve months (after CVE-2025-3248, CVE-2026-33017, CVE-2026-21445 and cousins) and the second one under active exploitation this July after CVE-2026-55255 hit KEV on July 7. CVE-2026-0770 is an unauthenticated remote code execution flaw in Langflow's validate endpoint via the exec_globals parameter that yields code execution as root. Sysdig's research on Langflow exploitation established the pattern earlier this year: attackers hit the flow builder, dump OpenAI, Anthropic, AWS, HubSpot, and Microsoft Graph credentials from active flows, and pivot into corporate SaaS with no further exploitation required.

Key takeaway: The AI-platform attack surface is now a recurring monthly threat class, not a one-time incident. Every NC SMB with an AI pipeline builder in the environment - Langflow, LangChain, Flowise, LlamaIndex, Dify, n8n AI - needs an inventory, a sandbox posture, a credential-scope reduction, and a monitoring plan. The 12-month Langflow CVE cadence should be treated as a permanent operating cost of running one of these platforms.

Is your NC SMB running Langflow, Flowise, Dify, or n8n AI workflows? Contact Preferred Data Corporation for a shadow AI platform review including inventory, exposure assessment, credential-scope audit, sandbox migration, and NIST AI RMF alignment. BBB A+ rated, 100+ NC clients, 24/7 SOC. Call (336) 886-3282.

What Is CVE-2026-0770 and Why Was It Added to KEV on July 21?

CVE-2026-0770 is an unauthenticated remote code execution vulnerability in Langflow's validate endpoint. The specific flaw exists in the handling of the exec_globals parameter passed to the endpoint. A remote attacker can send a crafted request with a malicious exec_globals payload and execute arbitrary code in the context of the process running Langflow - which by default is root on the Langflow Docker image and often on bare-metal installations.

Three concrete facts every NC SMB with Langflow in the environment should absorb:

  • CVE-2026-0770 is unauthenticated. No login, no API key, no user interaction. Reach the Langflow web interface and you can execute code.
  • Root-level RCE means everything in the container or on the host is exposed. Environment variables, .env files, mounted secret files, IAM credentials, OpenAI keys, Anthropic keys, database credentials, and any flow-embedded credentials are all readable from the compromised process.
  • CISA added CVE-2026-0770 to KEV on July 21, 2026 as one of four July 21 additions alongside DD-WRT CVE-2021-27137 and the WordPress wp2shell chain (CVE-2026-60137 + CVE-2026-63030).

This is the second Langflow CVE to hit KEV this month. CVE-2026-55255, an IDOR in the /api/v1/responses endpoint enabling credential harvest via prompt injection, was added July 7. The pattern is stable: Langflow is under continuous active exploitation.

Why Is Langflow a Recurring Target?

Langflow and adjacent visual AI pipeline builders (Flowise, LangChain, LlamaIndex, Dify, n8n AI) are attractive targets for a specific structural reason: they hold cloud provider credentials, third-party API keys, and broad system permissions by design. That is the product. The credentials are the point.

Three concrete facts about the AI-platform attack economics:

  • A single Langflow instance often holds credentials for 3-8 SaaS platforms. OpenAI, Anthropic, AWS Bedrock, HubSpot, Microsoft 365 Graph, Salesforce, Slack, and a handful of vendor APIs are typical. Each credential is worth $50-$500 on criminal markets.
  • The credentials are usually broadly scoped. Marketing and sales teams building AI flows use "give it all the access it needs" scoping because narrow scoping breaks the flow. Cloud-provider credentials often have full IAM access, not scoped-role access.
  • The credentials rotate slowly. OpenAI, Anthropic, and AWS Bedrock keys embedded in a flow last for months. A single Langflow compromise typically yields 3-8 usable credentials with a 30-90 day usable window each.

The economics explain the twelve-month Langflow CVE cadence. Researchers and attackers are looking for AI-platform bugs because the payoff is unusually good.

Which NC SMB Environments Are Most Exposed to Langflow Compromise?

Langflow deployments in the NC SMB installed base concentrate in six patterns, some of which are not visible to central IT.

Six NC SMB Langflow deployment patterns to inventory this week:

  • Marketing team AI content workflows. A marketing lead deployed Langflow to draft blog posts, generate email campaigns, and summarize customer feedback. Credentials for OpenAI, Anthropic, and HubSpot are embedded.
  • Sales team AI enrichment and outbound. A sales operations lead deployed Langflow to enrich accounts, draft outbound cadences, and summarize CRM notes. Credentials for OpenAI, Salesforce, HubSpot, Apollo, and ZoomInfo are embedded.
  • Support and ops AI ticket triage. A support lead deployed Langflow to categorize incoming tickets, summarize customer emails, and draft first-touch responses. Credentials for the ticketing system, email platform, and OpenAI are embedded.
  • Engineering AI code-review or documentation flows. An engineering lead deployed Langflow to summarize pull requests, generate documentation, and answer developer questions. Credentials for GitHub, OpenAI, Anthropic, and an internal knowledge base are embedded.
  • Finance AI expense-categorization or forecast flows. A finance lead deployed Langflow to categorize expenses, summarize month-end variances, and draft board packet narratives. Credentials for the ERP, QuickBooks, or NetSuite plus OpenAI are embedded.
  • Executive assistant AI research and briefing flows. An EA deployed Langflow to summarize inbound investor emails, prepare meeting briefs, and draft correspondence. Credentials for the CEO's calendar, email, and CRM are embedded.

Three concrete facts about the NC SMB Langflow risk profile:

  • Most Langflow deployments were not approved by central IT. They were self-deployed by a business unit to solve a specific problem. Central IT often does not have an inventory.
  • Most Langflow deployments are exposed to the internet. The Langflow UI is designed for team collaboration, so it is deployed with public HTTPS access, often behind Cloudflare Access or Tailscale but often behind nothing.
  • Most Langflow deployments have not been patched since initial installation. The 12-month CVE cadence means the average unpatched Langflow instance is exploitable via at least one KEV entry at any given time.

What Happens After a Successful Langflow Exploitation?

CVE-2026-0770 gets an attacker root-level code execution inside the Langflow process. What follows is well-documented from Sysdig's research on prior Langflow exploitation waves.

The typical Langflow post-exploitation sequence:

  1. Environment variable dump. The attacker reads /proc/self/environ and dumps every environment variable including embedded API keys.
  2. Flow-embedded credential extraction. The attacker queries the Langflow database or filesystem for saved flows and extracts every credential stored in flow nodes.
  3. Cloud provider IAM enumeration. With AWS or GCP or Azure keys in hand, the attacker enumerates the IAM permissions available to those keys.
  4. SaaS pivot. With OpenAI, Anthropic, HubSpot, Salesforce, Slack, or Microsoft Graph keys in hand, the attacker either uses the credentials directly for LLM usage fraud (a well-established criminal market) or pivots into the SaaS platform for data theft.
  5. Persistence. The attacker writes a persistence mechanism (cron job, systemd unit, or Langflow flow that periodically executes a webshell) so that patching Langflow does not evict them.

Three concrete facts about the business consequences:

  • LLM usage fraud losses are unpredictable. A stolen OpenAI or Anthropic key with unbounded budget can generate $10K-$500K in usage within 72 hours before rate limits or billing alerts fire.
  • SaaS-pivot data theft is a breach notification event. Stolen customer data from HubSpot, Salesforce, or Microsoft 365 triggers NC N.C.G.S. § 75-65 notification requirements and potential federal or industry-specific disclosure obligations.
  • Cyber-insurance coverage is inconsistent. 2026 policies are starting to address "AI platform compromise" as a distinct category but the language is uneven. Coverage attestations often require an AI-specific governance program aligned to NIST AI RMF.

What Should NC SMBs Do in the Next 30 Days?

The response is a four-workstream program aligned to KEV posture and NIST AI RMF (Framework 1.0, February 2026 refresh).

Track 1 - Inventory and immediate patch (Days 1-7).

  • Enumerate every Langflow, Flowise, LangChain server, Dify, and n8n AI deployment across the business. Include self-service, IT-managed, and vendor-hosted instances.
  • For Langflow specifically, upgrade to the fixed release. Consult the Langflow security advisory for the version that patches CVE-2026-0770 and prior KEV entries.
  • Rotate every credential visible to any Langflow instance. OpenAI, Anthropic, cloud provider, SaaS, and internal API tokens all need rotation.
  • Take any internet-exposed Langflow instance offline immediately if patch cannot be applied in the next 24 hours.

Track 2 - Sandbox isolation (Days 3-14).

  • Move every Langflow, Flowise, and similar AI platform behind a WAF or authenticated proxy (Cloudflare Access, Tailscale, ZeroTrust identity-aware proxy).
  • Run every AI platform in an isolated container or VM with no direct outbound internet access except to explicitly whitelisted API endpoints.
  • Reduce credential scopes. Cloud provider credentials should be role-scoped to the specific resources needed. SaaS credentials should use OAuth with narrow scopes.
  • Deploy egress filtering. AI platforms should not have outbound network access to arbitrary internet endpoints.

Track 3 - Governance and monitoring (Days 7-30).

  • Publish an AI-tool governance policy that inventories approved AI platforms, defines the approval process for new ones, and requires central IT to manage credentials.
  • Adopt NIST AI RMF as the governance framework. Map controls to Governance, Mapping, Measurement, and Management functions.
  • Instrument monitoring for LLM usage anomalies. OpenAI and Anthropic provide usage-alerting; wire it into the corporate SIEM or MSP SOC.
  • Instrument monitoring for AI-platform outbound network anomalies. Egress to unfamiliar destinations is an indicator of compromise.

Track 4 - Insurance and compliance (Days 14-30).

  • Confirm cyber-insurance coverage for AI-platform compromise scenarios and LLM usage fraud.
  • Prepare the NIST AI RMF attestation packet for insurance renewal.
  • Confirm compliance with Colorado SB 24-205, Texas TRAIGA, and (where applicable) the EU AI Act August 2, 2026 general-purpose AI model provisions.

How Does the Langflow CVE Cadence Compare Across 2024-2026 AI Platforms?

The AI-platform attack surface is not unique to Langflow. It is a structural property of visual AI pipeline builders as a category.

Comparison: AI platform CVE cadence and KEV additions, 2024-2026.

PlatformKEV Entries (2024-2026)Typical Attack ClassPrimary Payoff
Langflow4+ (CVE-2025-3248, CVE-2026-33017, CVE-2026-55255, CVE-2026-0770 and cousins)Unauth RCE + IDOR + prompt-injection credential harvestCredential theft, LLM fraud
Flowise2+Auth bypass, RCECredential theft, LLM fraud
Dify4+ (CVE-2026-41947, 41948, 41949, 41950 - Zafran Labs)Cross-tenant data accessData theft, credential theft
Amazon Q Developer2+ (CVE-2026-12957, CVE-2026-12958)MCP repo auto-executeCredential theft
Claude Code2+ (CVE-2025-59536, CVE-2026-21852)Same MCP patternCredential theft
Windsurf (Codeium)1+ (CVE-2026-30615)Same MCP patternCredential theft
Copilot Studio1+ (Connected Agents backdoor + CVE-2026-21520 ShareLeak)Connected agent scope abuseData exfiltration

The pattern is clear: AI platforms are a hot target with high CVE cadence. The NC SMB posture should assume monthly patch cycles and treat AI-platform credentials as first-class secrets equivalent to production database credentials.

Key takeaway: The right answer is not "we should not use AI platforms." AI platforms are creating real productivity value across NC SMB marketing, sales, support, engineering, and finance functions. The right answer is "we should run AI platforms with the same discipline we run production databases: inventory, patching, credential scope, network isolation, monitoring, and IR readiness."

Explore PDC's AI transformation services - Cybersecurity services

How Does This Fit Emerging AI Compliance Requirements?

The AI-platform threat model intersects three converging compliance regimes NC SMBs need to track through 2026-2027.

Comparison: 2026 AI compliance regimes that treat Langflow-class exposure as in-scope.

RegimeEffective DateAI-Platform RelevanceSafe Harbor
NIST AI RMF 1.0 (with July 2024 GAI Profile)Applies nowNon-binding but insurance-referencedNIST AI RMF alignment
Colorado SB 24-205 (as amended by SB 26-189)January 1, 2027Consumer-facing AI systemsDocumented risk management
Texas TRAIGAActive$10K-$200K per-violation civil penaltyNIST AI RMF alignment
Illinois HB 3773ActiveEmployment AI decisionsDocumented governance
EU AI ActAugust 2, 2026 (GPAI models)Any EU customer or EU processingCompliance documentation
FTC AI Accuracy Policy StatementJuly 1, 2026 (comment period through July 31)Consumer-facing AI outputsDocumented accuracy controls

Every one of these regimes treats "we have an inventory of AI systems and we manage their credentials, access, and outputs" as evidence of good faith. Every one treats "we discovered a shadow AI platform in the middle of a KEV-driven IR event" as evidence of poor governance.

How Does Preferred Data Handle AI-Platform Governance for NC SMBs?

Preferred Data Corporation has advised NC SMBs on AI transformation and AI governance continuously since the early LangChain and OpenAI API waves in 2022-2023. Our Langflow response and ongoing AI-platform governance program is a four-layer deliverable.

PDC's four-layer NC SMB AI-platform governance program:

  1. Discovery and inventory. Full AI platform enumeration across the business including self-service deployments in marketing, sales, support, engineering, and finance. Vendor list, credential inventory, and internet-exposure baseline documented.
  2. Emergency response and sandbox. Langflow patch validation, credential rotation, sandbox migration, egress filtering, and internet-exposure remediation inside 14 days.
  3. NIST AI RMF alignment. Written AI governance policy, credential-scope reduction, monitoring instrumentation, and evidence packet aligned to Governance, Mapping, Measurement, and Management functions.
  4. Cyber-insurance and compliance evidence packet. Documented AI inventory, patch cadence, credential rotation cadence, and IR readiness for carrier renewal and TRAIGA / Colorado / EU compliance.

Cost for a typical 40-100 person NC SMB: $5,000-$14,000 for initial engagement plus $400-$1,200/month for ongoing governance and SOC coverage. The alternative is a $50K-$500K LLM fraud event, a SaaS data-theft breach notification, or a 2027 compliance finding traced to an ungoverned AI platform that was never inventoried.

Frequently Asked Questions

What is Langflow?

Langflow is an open-source visual AI pipeline builder. Users drag and drop nodes representing LLM prompts, data sources, API calls, and transformations into a flow diagram, then execute the flow. It is widely deployed for AI agent development, RAG (retrieval-augmented generation) applications, and marketing/sales AI automation.

What is CVE-2026-0770?

CVE-2026-0770 is an unauthenticated remote code execution vulnerability in Langflow's validate endpoint via the exec_globals parameter. A remote attacker can execute arbitrary code as root. CISA added it to KEV on July 21, 2026 based on evidence of active exploitation.

Is Langflow safe to use at all?

Yes, with proper governance. Langflow, Flowise, Dify, and similar platforms create real productivity value. The right posture is: keep it patched, run it behind an authenticated proxy, scope credentials narrowly, filter egress, monitor LLM usage, and treat AI-platform credentials as first-class secrets.

How do I know if my Langflow instance was compromised?

Check the Langflow process outbound network traffic for connections to unfamiliar destinations. Check /proc/self/environ access patterns. Enumerate saved flows for any flow that was not created by an authorized user. Check LLM API usage dashboards (OpenAI, Anthropic) for anomalous spikes. If any of these hit, engage incident response, rotate all credentials, and rebuild the Langflow instance from a clean image.

Should I stop using Langflow?

Not necessarily. Consider whether an alternative (n8n, Zapier AI, Microsoft Copilot Studio, or a hosted AI-agent platform with vendor-managed security) better fits the use case. If Langflow is the right tool, run it under the four-layer governance program above. If it is not, migrate to a lower-risk alternative.

Does cyber insurance cover a Langflow compromise?

2026 policies are starting to address AI-platform compromise as a distinct coverage category. Coverage attestations often require an AI-specific governance program aligned to NIST AI RMF. Confirm coverage with your broker; Preferred Data provides the attestation packet.

How fast can PDC secure a Langflow deployment?

For existing PDC clients, patch validation, credential rotation, and sandbox migration complete inside 14 days. For new engagements, the initial AI platform inventory and Langflow triage complete inside 7-10 business days. NIST AI RMF alignment and evidence packet delivery complete inside 45-60 days.

Support