{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5027 exists.","fix":"No fix has been published for CVE-2026-5027 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-5027 is a high-severity path traversal vulnerability in Langflow Langflow, published on 27 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-5027 and fix it if it is affected.\n\nWhat it is: CVE-2026-5027 is a high-severity path traversal vulnerability in Langflow Langflow, published on 27 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5027 exists.\n\nAffected product: Langflow Langflow. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-5027/ (Markdown: https://insights.sbomify.com/CVE-2026-5027/index.md)","id":"CVE-2026-5027","markdown":"https://insights.sbomify.com/CVE-2026-5027/index.md","name":"CVE-2026-5027","record":{"aliases":["GHSA-wr3v-m658-mf42"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Langflow AI platform","requires_auth":"low_privilege","summary":"Attackers can write arbitrary files to the server via unsanitized filename input in the file upload endpoint, potentially leading to code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"tenable","cpe":[{"product":"langflow","vendor":"langflow"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"The 'POST /api/v2/files' endpoint does not sanitize the 'filename' parameter from the multipart form data, allowing an attacker to write files to arbitrary locations on the filesystem using path traversal sequences ('../').","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2026-04-02","github_poc":8,"max_poc_stars":4,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-04-02T10:46:45Z","kind":"github_poc","ref":"https://github.com/yahiahamza/CVE-2026-5027","stars":4,"title":"CVE-2026-5027 - Langflow Path Traversal to Remote Code Execution (CVSS 8.8)"},{"date":"2026-04-03T10:34:51Z","kind":"github_poc","ref":"https://github.com/EQSTLab/CVE-2026-5027","stars":3,"title":"Langflow, Remote Code Execution (RCE) via Cron Job Injection through Path Traversal"},{"date":"2026-08-21T04:17:49Z","kind":"github_poc","ref":"https://github.com/yym8538/CVE-2026-5027","stars":1,"title":null},{"date":"2026-04-03T09:48:58Z","kind":"github_poc","ref":"https://github.com/min8282/CVE-2026-5027","stars":0,"title":"Langflow, Remote Code Execution (RCE) via Cron Job Injection through Path Traversal (CVE-2026-5027)"},{"date":"2026-04-03T16:56:21Z","kind":"github_poc","ref":"https://github.com/0xredash/CVE-2026-5027","stars":0,"title":"CVE-2026-5027"},{"date":"2026-06-10T19:18:56Z","kind":"github_poc","ref":"https://github.com/Layer-6/CVE-2026-5027-Langflow","stars":0,"title":null},{"date":"2026-06-11T06:32:34Z","kind":"github_poc","ref":"https://github.com/HORKimhab/CVE-2026-5027","stars":0,"title":" CVE-2026-5027 - Draft"},{"date":"2026-08-31","kind":"exploitdb","ref":"52659","stars":null,"title":"Langflow  1.8.4 - Path Traversal to Remote Code Execution"}],"tier":"weaponised"},"has_fix":false,"headline":"Langflow - Path Traversal Arbitrary File Write via upload_user_file","id":"CVE-2026-5027","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"langflow:langflow","products":["langflow:langflow"],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Eight Day Week Print Workflow \u003c= 1.2.6 - Authenticated (Subscriber+) SQL Injection via 'title' Parameter","id":"CVE-2026-5028"},"packages":[],"prev":{"headline":"Langflow - Stored XSS via Malicious SVG Upload","id":"CVE-2026-5026"},"products":["langflow"],"published":"2026-03-27","related":[{"cvss_score":9.8,"headline":"IBM Langflow Code Injection","id":"CVE-2026-9198","kev_date_added":"2026-08-04","published":"2026-07-17"},{"cvss_score":9.8,"headline":"Langflow Inclusion of Functionality from Untrusted Control Sphere","id":"CVE-2026-0770","kev_date_added":"2026-07-21","published":"2026-01-23"},{"cvss_score":9.8,"headline":"Langflow Missing Authentication","id":"CVE-2025-3248","kev_date_added":"2025-05-05","published":"2025-04-07"},{"cvss_score":9.4,"headline":"Langflow Origin Validation Error","id":"CVE-2025-34291","kev_date_added":"2026-05-21","published":"2025-12-05"},{"cvss_score":9.3,"headline":"Langflow Code Injection","id":"CVE-2026-33017","kev_date_added":"2026-03-25","published":"2026-03-20"},{"cvss_score":8.4,"headline":"Langflow Authorization Bypass Through User-Controlled Key","id":"CVE-2026-55255","kev_date_added":"2026-07-07","published":"2026-06-23"},{"cvss_score":10,"headline":"Unauthenticated Server-Side RCE via PythonCodeStructuredTool in Public Flows","id":"CVE-2026-10134","kev_date_added":null,"published":"2026-06-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-27","vendors":["langflow-ai"]},"summary":"Attackers can write arbitrary files to the server via unsanitized filename input in the file upload endpoint, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2026-5027/"}