Langflow is Missing Ownership Verification in API Key Deletion (IDOR)
CVE-2026-33053 · GHSA-rf6x-r45m-xv3w · published 2026-03-18 · updated 2026-06-06
- Severity
- High
- CVSS score
- 7.1
- Chance of exploitation (EPSS)
- 0.44%
- Fixed in
- 1.9.0
- Exploitation No known exploitation
- Automatable No
- Technical impact Partial
- CISA SSVC
An authenticated attacker can enumerate and delete API keys belonging to other users by guessing or discovering their API key IDs. This allows account takeover, denial of service, and disruption of other users' integrations.
Upgrade langflow to 1.9.0 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Modify the deleteapikey endpoint and function: (1) Pass currentuser to the delete function; (2) In deleteapikey(), verify apikey.userid == currentuser.id before deletion; (3) Raise a 403 Forbidden error if the user doesn't own the key. Example: if apikey.userid != userid: raise HTTPException(statuscode=403, detail='Unauthorized')
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| langflow | PyPI | < 1.9.0 | 1.9.0 |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- CriticalTodoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server@doist/todoist-mcp
- Critical[mcp-atlassian] Authentication bypass in HTTP transport: AtlassianOpaqueTokenVerifier accepts any non-empty tokenmcp-atlassian
- CriticalMySQL MCP Server: Missing Origin/Host Validation in SSE Transport Enables Unauthenticated SQL Execution (DNS Rebinding / Direct Exposure)mysql-mcp-server
- CriticalCross-IdP account takeover via email-only SSO matchingflowise
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalMCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeoverlangflow, langflow-base
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.