Loading advisory.
Loading advisory.
Langflow Missing Authentication on Critical API Endpoints
Multiple critical API endpoints in Langflow are missing authentication controls, allowing any unauthenticated user to access sensitive user conversation data, transaction histories, and perform destructive operations including message deletion.
Published 2026-01-02 19:11 UTC · Modified 2026-07-13 16:43 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| langflow-base | PyPI | < 0.7.1 versions 0.0.13, 0.0.14, 0.0.15, 0.0.16, 0.0.17, 0.0.18, 0.0.19, 0.0.20, 0.0.21, 0.0.22, 0.0.23, 0.0.24, 0.0.25, 0.0.26, 0.0.27, 0.0.28, 0.0.29, 0.0.30, 0.0.31, 0.0.32 and 97 more | 0.7.1 | pip install --upgrade 'langflow-base>=0.7.1' |
| langflow | PyPI | < 1.7.1 versions 0.0.31, 0.0.32, 0.0.33, 0.0.40, 0.0.44, 0.0.45, 0.0.46, 0.0.52, 0.0.53, 0.0.54, 0.0.55, 0.0.56, 0.0.57, 0.0.58, 0.0.61, 0.0.62, 0.0.63, 0.0.64, 0.0.65, 0.0.66 and 257 more | 1.7.1 | pip install --upgrade 'langflow>=1.7.1' |
Multiple critical API endpoints in Langflow are missing authentication controls, allowing any unauthenticated user to access sensitive user conversation data, transaction histories, and perform destructive operations including message deletion. This affects endpoints handling personal data and system operations that should require proper authorization.
The vulnerability exists in three API endpoints within src/backend/base/langflow/api/v1/monitor.py that are missing the required dependencies=[Depends(get_current_active_user)] authentication dependency:
Affected Endpoints:
GET /api/v1/monitor/messages (Line 61)
@router.get("/messages") # ❌ Missing authentication
async def get_messages(
session: DbSession,
flow_id: Annotated[UUID | None, Query()] = None,
session_id: Annotated[str | None, Query()] = None,
# ... other parameters
) -> list[MessageResponse]:GET /api/v1/monitor/transactions (Line 183)
@router.get("/transactions") # ❌ Missing authentication
async def get_transactions(
flow_id: Annotated[UUID, Query()],
session: DbSession,
params: Annotated[Params | None, Depends(custom_params)],
) -> Page[TransactionTable]:DELETE /api/v1/monitor/messages/session/{session_id} (Line 165)
@router.delete("/messages/session/{session_id}", status_code=204) # ❌ Missing authentication
async def delete_messages_session(
session_id: str,
session: DbSession,
):Inconsistency Evidence: Other endpoints in the same file properly implement authentication:
@router.get("/messages/sessions", dependencies=[Depends(get_current_active_user)]) # ✅ Properly secured
@router.delete("/messages", status_code=204, dependencies=[Depends(get_current_active_user)]) # ✅ Properly securedComplete reproduction steps to demonstrate the vulnerability:
Prerequisites:
Start a Langflow server instance
Ensure no authentication headers or API keys are provided
Reproduction Commands:
# 1. Access all user conversations without authentication
curl http://localhost:7860/api/v1/monitor/messages
# 2. Access transaction history without authentication
curl "http://localhost:7860/api/v1/monitor/transactions?flow_id=00000000-0000-0000-0000-000000000000"
# 3. Delete user messages by session without authentication
curl -X DELETE http://localhost:7860/api/v1/monitor/messages/session/00000000-0000-0000-0000-000000000000Expected vs Actual Behavior:
Expected: All requests should return 401 Unauthorized
Actual: All requests return successful responses with sensitive data or perform destructive operations
Vulnerability Type: Broken Authentication and Authorization (OWASP Top 10 - A01:2021)
Severity: High
Who is Impacted:
All Langflow users: Personal conversation data exposed to unauthorized access
System administrators: Transaction logs disclosed
Specific Impacts:
Data Breach: Unauthorized access to user conversations containing potentially sensitive personal information
Privacy Violation: Transaction histories and user activity patterns exposed without consent
Data Destruction: Malicious actors can delete user conversation histories without authorization
Compliance Risk: Potential violations of data protection regulations (GDPR, CCPA, etc.)
System Intelligence: Attackers can gather information about system usage patterns and user behavior
Attack Scenarios:
Malicious users accessing proprietary conversation data
Malicious users deleting other users' conversation histories
Automated scraping of all user conversations for data harvesting
Reconnaissance attacks to understand system architecture and usage patterns
Recommended Fix: Add authentication dependencies to all affected endpoints:
@router.get("/messages", dependencies=[Depends(get_current_active_user)])
@router.get("/transactions", dependencies=[Depends(get_current_active_user)])
@router.delete("/messages/session/{session_id}", dependencies=[Depends(get_current_active_user)])Environment:
Langflow Version: Current main branch
Affected Components: API v1 monitoring endpoints
Authentication System: FastAPI dependency injection with get_current_active_user
<img width="1908" height="1029" alt="25-090901" src="https://github.com/user-attachments/assets/44bd03b4-6ada-45b7-b81b-9cb83747172b" />
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.333 on 2026-11-24 to 0.024 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.333 | first score | v2026.06.15 |
| 2026-11-26 | 0.024 | 0.333 | v2026.06.15 |