{"answers":{"affected":"6 open source packages ship an affected version, including langflow and langflow-base. It affects 2 products.","exploited":"There is no known exploitation of CVE-2026-34046 in the wild and no public exploit code.","fix":"Upgrade langflow to 1.5.1 or later.","what":"CVE-2026-34046 is a high-severity missing authorization 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-34046 and fix it if it is affected.\n\nWhat it is: CVE-2026-34046 is a high-severity missing authorization 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: There is no known exploitation of CVE-2026-34046 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- langflow (PyPI): affected all versions; fixed in 1.5.1\n- langflow (PyPI): affected all versions; fixed in 1.5.1\n- langflow (PyPI): affected all versions; fixed in 1.5.1\n- langflow-base (PyPI): affected all versions; fixed in 0.5.1\n- langflow-base (PyPI): affected all versions; fixed in 0.5.1\n- langflow-base (PyPI): affected all versions; fixed in 0.5.1\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-34046/ (Markdown: https://insights.sbomify.com/CVE-2026-34046/index.md)","id":"CVE-2026-34046","markdown":"https://insights.sbomify.com/CVE-2026-34046/index.md","name":"CVE-2026-34046","record":{"aliases":["GHSA-8c4j-f57c-35cf","PYSEC-2026-2567","PYSEC-2026-2570"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"AI workflow builder","requires_auth":"low_privilege","summary":"Authenticated users can read, modify, or delete other users' AI workflows and exposed API keys due to missing ownership checks.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"langflow","vendor":"langflow"},{"product":"langflow-base","vendor":"langflow"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"description":"Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.5.1, the `_read_flow` helper in `src/backend/base/langflow/api/v1/flows.py` branched on the `AUTO_LOGIN` setting to decide whether to filter by `user_id`. When `AUTO_LOGIN` was `False` (i.e., authentication was enabled), neither branch enforced an ownership check — the query returned any flow matching the given UUID regardless of who owned it. This allowed any authenticated user to read any other user's flow, including embedded plaintext API keys; modify the logic of another user's AI agents, and/or delete flows belonging to other users. The vulnerability was introduced by the conditional logic that was meant to accommodate public/example flows (those with `user_id = NULL`) under auto-login mode, but inadvertently left the authenticated path without an ownership filter. The fix in version 1.5.1 removes the `AUTO_LOGIN` conditional entirely and unconditionally scopes the query to the requesting user.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Langflow: Authenticated Users Can Read, Modify, and Delete Any Flow via Missing Ownership Check","id":"CVE-2026-34046","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"langflow:langflow","products":["langflow:langflow"],"type":"missing_authorization","year":"2026"},"n_packages":6,"n_references":2,"next":{"headline":"Coolify: WebSocket Endpoint Access Control Flaw Leading to Remote Code Execution","id":"CVE-2026-34047"},"packages":[{"ecosystem":"PyPI","fixed":["1.5.1"],"introduced":["0"],"last_affected":[],"package":"langflow","purl":null,"source":"GHSA-8c4j-f57c-35cf"},{"ecosystem":"PyPI","fixed":["1.5.1"],"introduced":["0"],"last_affected":[],"package":"langflow","purl":"pkg:pypi/langflow","source":"GHSA-8c4j-f57c-35cf"},{"ecosystem":"PyPI","fixed":["1.5.1"],"introduced":["0"],"last_affected":[],"package":"langflow","purl":"pkg:pypi/langflow","source":"PYSEC-2026-2567"},{"ecosystem":"PyPI","fixed":["0.5.1"],"introduced":["0"],"last_affected":[],"package":"langflow-base","purl":null,"source":"GHSA-8c4j-f57c-35cf"},{"ecosystem":"PyPI","fixed":["0.5.1"],"introduced":["0"],"last_affected":[],"package":"langflow-base","purl":"pkg:pypi/langflow-base","source":"GHSA-8c4j-f57c-35cf"},{"ecosystem":"PyPI","fixed":["0.5.1"],"introduced":["0"],"last_affected":[],"package":"langflow-base","purl":"pkg:pypi/langflow-base","source":"PYSEC-2026-2570"}],"prev":{"headline":"Podman Desktop WebView Server Exposed","id":"CVE-2026-34045"},"products":["langflow","langflow-base"],"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":"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-01","vendors":["langflow-ai"]},"summary":"Authenticated users can read, modify, or delete other users' AI workflows and exposed API keys due to missing ownership checks.","url":"https://insights.sbomify.com/CVE-2026-34046/"}