{"answers":{"affected":"3 open source packages ship an affected version, including langflow. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33309 exists.","fix":"Upgrade langflow to 1.9.0 or later.","what":"CVE-2026-33309 is a critical path traversal vulnerability in Langflow Langflow, published on 24 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-33309 and fix it if it is affected.\n\nWhat it is: CVE-2026-33309 is a critical path traversal vulnerability in Langflow Langflow, published on 24 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-33309 exists.\n\nAffected packages and fixed versions:\n- langflow (PyPI): affected from 1.2.0; fixed in 1.9.0\n- langflow (PyPI): affected from 1.2.0; fixed in 1.9.0\n- langflow (PyPI): affected from 1.2.0; fixed in 1.9.0\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-33309/ (Markdown: https://insights.sbomify.com/CVE-2026-33309/index.md)","id":"CVE-2026-33309","markdown":"https://insights.sbomify.com/CVE-2026-33309/index.md","name":"CVE-2026-33309","record":{"aliases":["ECHO-6551-da8d-a4b8","GHSA-g2j9-7rj2-gm6c","PYSEC-2026-79"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"AI workflow builder","requires_auth":"low_privilege","summary":"Authenticated attackers can bypass file name validation to write arbitrary files on the host, leading to remote code execution in Langflow.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"langflow","vendor":"langflow"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-73","name":"External Control of File Name or Path"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Langflow is a tool for building and deploying AI-powered agents and workflows. Versions 1.2.0 through 1.8.1 have a bypass of the patch for CVE-2025-68478 (External Control of File Name), leading to the root architectural issue within `LocalStorageService` remaining unresolved. Because the underlying storage layer lacks boundary containment checks, the system relies entirely on the HTTP-layer `ValidatedFileName` dependency. This defense-in-depth failure leaves the `POST /api/v2/files/` endpoint vulnerable to Arbitrary File Write. The multipart upload filename bypasses the path-parameter guard, allowing authenticated attackers to write files anywhere on the host system, leading to Remote Code Execution (RCE). Version 1.9.0 contains an updated fix.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Langflow has an Arbitrary File Write (RCE) via v2 API","id":"CVE-2026-33309","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"langflow:langflow","products":["langflow:langflow"],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"Intake has a Command Injection via shell() Expansion in Parameter Defaults","id":"CVE-2026-33310"},"packages":[{"ecosystem":"PyPI","fixed":["1.9.0"],"introduced":["1.2.0"],"last_affected":[],"package":"langflow","purl":null,"source":"GHSA-g2j9-7rj2-gm6c"},{"ecosystem":"PyPI","fixed":["1.9.0"],"introduced":["1.2.0"],"last_affected":[],"package":"langflow","purl":"pkg:pypi/langflow","source":"GHSA-g2j9-7rj2-gm6c"},{"ecosystem":"PyPI","fixed":["1.9.0"],"introduced":["1.2.0"],"last_affected":[],"package":"langflow","purl":"pkg:pypi/langflow","source":"PYSEC-2026-79"}],"prev":{"headline":"mod_gnutls missing key purpose check in client certificate verification","id":"CVE-2026-33308"},"products":["langflow"],"published":"2026-03-24","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":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-25","vendors":["langflow-ai"]},"summary":"Authenticated attackers can bypass file name validation to write arbitrary files on the host, leading to remote code execution in Langflow.","url":"https://insights.sbomify.com/CVE-2026-33309/"}