{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 9.8, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"CRITICAL\"}"}}}], "affected": [{"vendor": "pypi", "product": "langflow", "versions": [{"status": "affected", "version": "1.7.0", "lessThan": "1.9.1", "versionType": "custom"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/advisories/GHSA-cf6m-vc3m-7cgm"}, {"url": "https://github.com/langflow-ai/langflow"}, {"url": "https://github.com/langflow-ai/langflow/commit/cb6f7508dda83ead9c3e4417e96e4b5bd9a260c3"}, {"url": "https://github.com/langflow-ai/langflow/pull/12845"}, {"url": "https://github.com/langflow-ai/langflow/releases/tag/v1.9.1"}, {"url": "https://github.com/langflow-ai/langflow/security/advisories/GHSA-cf6m-vc3m-7cgm"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-8505"}, {"url": "https://pypi.org/project/langflow"}, {"url": "https://www.ibm.com/support/pages/node/7278921"}], "descriptions": [{"lang": "en", "value": "### Summary\nA vulnerability in Langflow's webhook authentication logic allows unauthenticated users to trigger the execution of any flow. The system incorrectly bypasses API key validation when the `WEBHOOK_AUTH_ENABLE` configuration is set to `False`. This allows a remote attacker who knows a flow's UUID to execute it as if they were the owner, potentially leading to Remote Code Execution (RCE) or Denial of Service (DoS).\n\n### Details\nThe `WEBHOOK_AUTH_ENABLE` setting was introduced in v1.7.0 (#9139) with a default of `False`. The root cause is in the webhook authentication path, `AuthService.get_webhook_user` (`src/backend/base/langflow/services/auth/service.py`; the thin wrapper in `src/backend/base/langflow/services/auth/utils.py` just delegates to it):\n\n```python\nasync def get_webhook_user(self, flow_id: str, request: Request) -> UserRead:\n    settings_service = self.settings\n    ...\n    # VULNERABILITY: If this setting is False (default in <= 1.9.0), it returns\n    # the flow owner WITHOUT checking the API Key in the request.\n    if not settings_service.auth_settings.WEBHOOK_AUTH_ENABLE:\n        try:\n            flow_owner = await get_user_by_flow_id_or_endpoint_name(flow_id)\n            return flow_owner\n```\n\nBy default (v1.7.0 through v1.9.0), Langflow treats `WEBHOOK_AUTH_ENABLE` as `False`, meaning all webhook endpoints are public. This relies exclusively on the secrecy of the `flow_id` (UUID), which is an insecure practice (Security by Obscurity).\n\nA related report, GHSA-6g4m-v5q2-475v, demonstrated a concrete RCE chain through this same bypass using the `PythonCodeStructuredTool` component (`exec()` on flow-authored Python code). That report is a duplicate of this root cause and has been closed in favor of this advisory; credit for that PoC has been added here.\n\n### PoC\n1. Identify a valid `flow_id` for a flow that performs a sensitive action (e.g., sending an email, writing to a database, or executing a Python script).\n2. Execute a POST request to the webhook endpoint without any `Authorization` header or API Key:\n```bash\ncurl -X POST \"http://<server-ip>:7860/api/v1/webhook/<flow_id>\" \\\n     -H \"Content-Type: application/json\" \\\n     -d '{\"input\": \"payload\"}'\n```\n3. Verify that the flow execution is triggered and the action is performed on the server.\n\n### Impact\nThis is a **High-severity Authentication Bypass**.\n- **Remote Code Execution (RCE)**: Flows often contain components that execute arbitrary Python code. An attacker can leverage this to gain full control over the server.\n- **Denial of Service (DoS)**: Attackers can exhaust system resources by triggering heavy flows concurrently.\n- **Data Integrity**: Unauthorized execution of flows can lead to unintended modification of databases or external systems connected via the flow.\n\n### Affected versions\n`>= 1.7.0, <= 1.9.0` (the range in which `WEBHOOK_AUTH_ENABLE` existed and defaulted to `False`).\n\n### Fix\nFixed in **v1.9.1** by [PR #12845](https://github.com/langflow-ai/langflow/pull/12845) — `fix(security): default WEBHOOK_AUTH_ENABLE to True`. The setting's default changed from `False` to `True`, so webhook endpoints now require API key authentication and ownership validation by default, unless an operator explicitly opts out via `LANGFLOW_WEBHOOK_AUTH_ENABLE=false`."}, {"lang": "en", "value": "Langflow: Unauthenticated Flow Execution via Webhook Authentication Bypass"}], "providerMetadata": {"orgId": "28c92f92-d60d-412d-b760-e73465c3df22", "shortName": "pypi", "dateUpdated": "2026-10-05T22:31:22Z", "x_subShortName": "pypi"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 9.8, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}], "affected": [{"cpes": ["cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*"], "vendor": "langflow", "product": "langflow", "versions": [{"status": "affected", "version": "1.0.0", "lessThan": "1.10.1", "versionType": "custom"}], "platforms": ["arch", "bionic", "bookworm", "bullseye", "buster", "cpe:2.3:o:almalinux:almalinux:*:*:*:*:*:*:*:*", "cpe:2.3:o:amazon:amazon_linux:*:*:*:*:*:*:*:*", "cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*", "cpe:2.3:o:fedoraproject:fedora:*:*:*:*:*:*:*:*", "cpe:2.3:o:microsoft:*:*:*:*:*:*:*:*:*", "cpe:2.3:o:oracle:linux:*:*:*:*:*:*:*:*", "cpe:2.3:o:redhat:enterprise_linux:*:*:*:*:*:*:*:*", "cpe:2.3:o:rocky:rocky:*:*:*:*:*:*:*:*", "cpe:2.3:o:suse:sled:*:*:*:*:*:*:*:*", "cpe:2.3:o:suse:sles:*:*:*:*:*:*:*:*", "faye", "focal", "jammy", "jessie", "noble", "resolute", "sid", "stretch", "trixie", "trusty", "ulyana", "ulyssa", "uma", "una", "vanessa", "vera", "victoria", "virginia", "wilma", "xenial"], "defaultStatus": "unaffected"}], "references": [{"url": "https://www.ibm.com/support/pages/node/7278921", "tags": ["vendor-advisory"]}], "descriptions": [{"lang": "en", "value": "IBM Langflow OSS 1.0.0 through 1.10.0 has a vulnerability in Langflow's webhook authentication logic allows unauthenticated users to trigger the execution of any flow. The system incorrectly bypasses API key validation when the WEBHOOK_AUTH_ENABLE configuration is set to False (which is the default setting). This allows a remote attacker who knows a flow's UUID to execute it as if they were the owner, potentially leading to Remote Code Execution (RCE)."}, {"lang": "es", "value": "IBM Langflow OSS 1.0.0 hasta 1.10.0 tiene una vulnerabilidad en la lógica de autenticación de webhook de Langflow que permite a usuarios no autenticados activar la ejecución de cualquier flujo. El sistema omite incorrectamente la validación de clave API cuando la configuración WEBHOOK_AUTH_ENABLE está establecida en False (que es la configuración predeterminada). Esto permite a un atacante remoto que conoce el UUID de un flujo ejecutarlo como si fuera el propietario, lo que podría conducir a la ejecución remota de código (RCE)."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-306", "description": "CWE-306"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2026-07-17T20:17:31Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2026-8505", "state": "PUBLISHED", "dateUpdated": "2026-10-24T20:10:00Z", "assignerOrgId": "9a959283-ebb5-44b6-b705-dcc2bbced522", "datePublished": "2026-07-17T20:17:31Z", "assignerShortName": "ibm"}, "dataVersion": "5.0"}