{"id":"CVE-2026-48520","aliases":["CVE-2026-48520","GHSA-rcjh-r59h-gq37","PYSEC-2026-244"],"related":[],"kind":"vulnerability","state":"published","title":"Langflow: Unauthenticated Shareable Playground arbitrary local or S3 file read","summary":"Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to 1.10.0, the \"Shareable Playground\" (or \"Public Flows\" in code) contains a potential arbitrary file-read vulnerability, depending on the exact flow configuration used. By making a flow public, public execution of the flow is allowed. The execution request can contain a list of files that gets read by Langflow and fed into the LLM. The files path can be any path supported by the storage - it can be either a local file or S3 path if supported by the local configuration This vulnerability is fixed in 1.10.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to 1.10.0, the \"Shareable Playground\" (or \"Public Flows\" in code) contains a potential arbitrary file-read vulnerability, depending on the exact flow configuration used. By making a flow public, public execution of the flow is allowed. The execution request can contain a list of files that gets read by Langflow and fed into the LLM. The files path can be any path supported by the storage - it can be either a local file or S3 path if supported by the local configuration This vulnerability is fixed in 1.10.0.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe \"Shareable Playground\" (or \"Public Flows\" in code) contains a potential arbitrary file-read vulnerability, depending on the exact flow configuration used.\n\nBy making a flow public, public execution of the flow is allowed. The execution request can contain a list of files that gets read by Langflow and fed into the LLM.\nThe files path can be any path supported by the storage - it can be either a local file or *S3 path* if supported by the local configuration\n\n### Details\nShareable Playground feature works by enabling the execution of workflows by unauthenticated users, by accessing a link.\nSpecifically, it enables the route `/api/v1/build_public_tmp` to execute any public flow, given a public flow ID.\nThis request contains a `files` field that can contain a list of files. The files get read in `LCModelComponent._get_chat_result` in a call to `to_lc_message`. A detailed stacktrace:\n```\n...\n  File \"/Users/ori/Work/research/langchain/langflow/src/backend/base/langflow/api/build.py\", line 466, in build_vertices\n    vertex_build_response: VertexBuildResponse = await _build_vertex(vertex_id, graph, event_manager)\n  File \"/Users/ori/Work/research/langchain/langflow/src/backend/base/langflow/api/build.py\", line 324, in _build_vertex\n    vertex_build_result = await graph.build_vertex(\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/graph/graph/base.py\", line 1563, in build_vertex\n    await vertex.build(\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/graph/vertex/base.py\", line 770, in build\n    await step(user_id=user_id, event_manager=event_manager, **kwargs)\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/events/observability/lifecycle_events.py\", line 95, in wrapper\n    result = await observed_method(self, *args, **kwargs)\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/graph/vertex/base.py\", line 411, in _build\n    await self._build_results(\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/graph/vertex/base.py\", line 640, in _build_results\n    result = await initialize.loading.get_instance_results(\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/interface/initialize/loading.py\", line 76, in get_instance_results\n    return await build_component(params=custom_params, custom_component=custom_component)\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/interface/initialize/loading.py\", line 299, in build_component\n    build_results, artifacts = await custom_component.build_results()\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/custom/custom_component/component.py\", line 1136, in build_results\n    return await self._build_with_tracing()\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/custom/custom_component/component.py\", line 1118, in _build_with_tracing\n    results, artifacts = await self._build_results()\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/custom/custom_component/component.py\", line 1163, in _build_results\n    result = await self._get_output_result(output)\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/custom/custom_component/component.py\", line 1238, in _get_output_result\n    result = await method() if inspect.iscoroutinefunction(method) else await asyncio.to_thread(method)\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/base/models/model.py\", line 88, in text_response\n    result = await self.get_chat_result(\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/base/models/model.py\", line 180, in get_chat_result\n    return await self._get_chat_result(\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/base/models/model.py\", line 232, in _get_chat_result\n    messages.append(input_value.to_lc_message(self.name))\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/schema/message.py\", line 184, in to_lc_message\n    file_contents = self.get_file_content_dicts(model_name)\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/schema/message.py\", line 256, in get_file_content_dicts\n    content_dicts.append(create_image_content_dict(file, None, model_name))\n  File \"/Users/ori/Work/research/langchain/langflow/src/lfx/src/lfx/utils/image.py\", line 96, in create_image_content_dict\n    ...\n```\n\nThis triggers Langflow to feed the file into the LLM as an Image. Reading the files back depends on the specific LLM configuration.\n\n### PoC\nReproduction:\n1. Create a new flow and add a Chat Input node to it\n2. Share the flow (\"Shareable Playground\")\n3. Access the public link with the browser developers tools open and execute the flow.\n4. Find the `/api/v1/build_public_tmp` route and copy as cURL\n5. Edit the `files` JSON field to point to any file.\n\n### Impact\nPotential file read (local or S3) if shareable playground feature is used.\n\n\n\nOri Lahav\nSecurity Researcher @ Rubrik Inc.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Langflow es una herramienta para construir y desplegar agentes y flujos de trabajo impulsados por IA. Antes de 1.10.0, el ’Shareable Playground’ (o ’Public Flows’ en el código) contiene una potencial vulnerabilidad de lectura arbitraria de archivos, dependiendo de la configuración exacta del flujo utilizada. Al hacer público un flujo, se permite la ejecución pública del flujo. La solicitud de ejecución puede contener una lista de archivos que son leídos por Langflow y alimentados al LLM. La ruta de los archivos puede ser cualquier ruta compatible con el almacenamiento - puede ser un archivo local o una ruta S3 si es compatible con la configuración local. Esta vulnerabilidad está corregida en 1.10.0.","source":"nvd"}],"published":"2026-06-16T17:36:00.000Z","modified":"2026-10-26T11:10:00.157Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-73"],"affected":[{"ranges":[{"version":"< 1.10.0","status":"affected"}],"vendor":"langflow-ai","product":"langflow","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.10.0"}],"ecosystem":"PyPI","package":"langflow","purl":"pkg:pypi/langflow","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.10.0"}],"vendor":"langflow","product":"langflow","cpe":"cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.10.0"}],"ecosystem":"PyPI","package":"langflow","purl":"pkg:pypi/langflow","source":"pysec"}],"references":[{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-rcjh-r59h-gq37","tags":["evidence","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48520","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/langflow-ai/langflow","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2026-244.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-24T14:18:15.520Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48520","url":"https://www.cve.org/CVERecord?id=CVE-2026-48520","licence":"CVE Terms of Use","modified":"2026-06-24T14:19:11.074Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rcjh-r59h-gq37","url":"https://github.com/advisories/GHSA-rcjh-r59h-gq37","licence":"CC-BY-4.0","modified":"2026-07-20T14:00:25.539Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48520","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48520","licence":"Public domain","modified":"2026-10-26T11:10:00.157Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-244","url":"https://osv.dev/vulnerability/PYSEC-2026-244","licence":"CC-BY-4.0","modified":"2026-06-27T11:15:05.214Z"}],"updatedAt":"2026-11-25T22:59:25.480Z","epss":{"score":0.00376,"percentile":0.33659,"date":"2026-12-01T12:00:22.000Z"}}