{"schemaVersion":3,"id":"CVE-2026-34046","aliases":["GHSA-8c4j-f57c-35cf","PYSEC-2026-2567","PYSEC-2026-2570"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-03-27T20:06:35.836Z","modified":"2026-04-01T03:55:31.834Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.7,"severity":"high","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00681,"percentile":0.51811,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.213,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00468},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00681,"percentile":0.51811}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00681,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00681,"percentile":0.51811}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key","description":"The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/639.html"},{"id":"CWE-862","name":"Missing Authorization","description":"The product does not perform an authorization check when an actor attempts to access a resource or perform an action.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/862.html"}],"affected":[{"vendor":"langflow-ai","product":"langflow","name":"langflow","label":"langflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.1","eol":null,"hubHref":"/vendor/langflow-ai/langflow"},{"vendor":"langflow-ai","product":"langflow-base","name":"langflow-base","label":"langflow-base","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.5.1","eol":null,"hubHref":"/vendor/langflow-ai/langflow-base"},{"vendor":"langflow","product":"langflow","name":"Langflow","label":"langflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.5.0","noFixRecorded":false,"fixedIn":null},{"text":"1.5.0:dev0","noFixRecorded":false,"fixedIn":null},{"text":"1.5.0:dev1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.0 | 1.5.0:dev0 | 1.5.0:dev1","eol":null,"hubHref":"/vendor/langflow/langflow"},{"vendor":"langflow","product":"langflow-base","name":"langflow-base","label":"langflow-base","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.5.1","eol":null,"hubHref":"/vendor/langflow/langflow-base"},{"vendor":"PyPI","product":"langflow","name":"langflow","label":"langflow","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/langflow","purlType":"pypi","versions":[{"text":"< 1.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.1","eol":null,"hubHref":null},{"vendor":"PyPI","product":"langflow-base","name":"langflow-base","label":"langflow-base","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/langflow-base","purlType":"pypi","versions":[{"text":"< 0.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.5.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-8c4j-f57c-35cf","label":"github.com/langflow-ai/langflow/security/advisories/GHSA-8c4j-f57c-35cf","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Patch","Vendor Advisory"]},{"url":"https://github.com/langflow-ai/langflow/pull/8956","label":"github.com/langflow-ai/langflow/pull/8956","hostname":"github.com","tags":["X Refsource MISC","WEB","Issue Tracking","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34046","label":"nvd.nist.gov/vuln/detail/CVE-2026-34046","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/langflow-ai/langflow","label":"github.com/langflow-ai/langflow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/langflow","label":"pypi.org/project/langflow","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-8c4j-f57c-35cf","label":"github.com/advisories/GHSA-8c4j-f57c-35cf","hostname":"github.com","tags":["Advisory"]},{"url":"https://pypi.org/project/langflow-base","label":"pypi.org/project/langflow-base","hostname":"pypi.org","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-03-27T20:06:35.836Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-01T03:55:31.834Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T15:12:02.871Z","stale":false,"partial":false}}