PT-2026-26095 · Langflow · Langflow

Faizankolega

+1

·

Published

2026-03-18

·

Updated

2026-03-21

·

CVE-2026-33053

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Langflow versions prior to 1.9.0
Description Langflow is a tool for building and deploying AI-powered agents and workflows. The delete api key route() endpoint, which accepts the api key id path parameter, performs only a generic authentication check. The delete api key() function does not verify if the API key belongs to the current user before deleting it. This allows an authenticated attacker to enumerate and delete API keys belonging to other users by guessing or discovering their API key IDs, potentially leading to account takeover, denial of service, and disruption of integrations. The vulnerable code is located in src/backend/base/langflow/api/v1/api key.py lines 44-53. The delete api key() function in crud.py lines 44-49 retrieves the API key by ID and deletes it without checking ownership.
Recommendations Modify the delete api key endpoint and function: Pass current user to the delete function. In delete api key(), verify api key.user id == current user.id before deletion. Raise a 403 Forbidden error if the user does not own the key.

Exploit

Fix

IDOR

Weakness Enumeration

Related Identifiers

CVE-2026-33053
GHSA-RF6X-R45M-XV3W
PYSEC-2026-78

Affected Products

Langflow