VAITP Dataset

← Back to the dataset

CVE-2026-81211

Remote auth attacker can run arbitrary Python via custom components in stored flows.

  • CVSS 8.8
  • 862
  • Authentication, Authorization, and Session Management
  • Remote

IBM Langflow OSS 1.0.0 through 1.11.5 could allow a remote authenticated attacker to execute arbitrary Python code due to improper authorization of custom components in stored flows.

CWE
862
CVSS base score
8.8
Published
2026-09-10
OWASP
A01 Broken Access Control
Orthogonal defect classification
Checking
Code defect classification
Missing Check
Category
Authentication, Authorization, and Session Management
Subcategory
Privilege Escalation
Accessibility scope
Remote
Impact
Arbitrary Code Execution
Affected component
Langflow
Fixed by upgrading
Yes

Solution

Upgrade IBM Langflow to version 1.11.6 or later, where the authorization issue for custom components in stored flows is fixed.

Vulnerable code sample

import json

def load_flow(flow_id: str, user):
    # VULNERABLE: exec of untrusted component code without auth check
    flow_data = json.loads(get_flow_json_from_db(flow_id))  # placeholder
    components = {}
    for comp in flow_data.get("components", []):
        code = comp["code"]
        exec(code, {}, components)  # loads component classes/functions
    return components

Patched code sample

import json

def load_flow(flow_id: str, user):
    # FIX: restrict exec to privileged users only
    flow_data = json.loads(get_flow_json_from_db(flow_id))  # placeholder
    components = {}
    if not user.is_admin:
        raise PermissionError("Unauthorized component execution")
    for comp in flow_data.get("components", []):
        code = comp["code"]
        exec(code, {}, components)
    return components

Payload

__VAITP_MODEL_REFUSED__

Cite this entry

@misc{vaitp:cve202681211,
  title        = {{Remote auth attacker can run arbitrary Python via custom components in stored flows.}},
  author       = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
  year         = {2026},
  note         = {VAITP Python Vulnerability Dataset, entry CVE-2026-81211},
  howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-81211/}}
}
Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.

The supreme art of war is to subdue the enemy without fighting.

Sun Tzu – “The Art of War”

:: Shaping the future through research and ingenuity ::