CVE-2026-21445
criticalpriority · attend · 58OT risk · highEPSS 0.333 · 98 %ileexploit · PoCEURUUSEPSS · scored 2026-10-27
Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.7.0.dev45, multiple critical API endpoints in Langflow are missing authentication controls. The issue allows 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. Version 1.7.0.dev45 contains a patch.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.8–9.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
affected products (5)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-c5cp-vx83-jhqxLangflow Missing Authentication on Critical API Endpoints2026-01-02ghsa · osvUS
### Summary 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. ### Details 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:** 1. **GET `/api/v1/monitor/messages`** (Line 61) ```python @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]: ``` 2. **GET `/api/v1/monitor/transactions`** (Line 183) ```python @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]: ``` 3. **DELETE `/api/v1/monitor/messages/session/{session_id}`** (Line 165) ```python @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: ```python @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 secured ``` ### PoC Complete reproduction steps to demonstrate the vulnerability: **Prerequisites:** 1. Start a Langflow server instance 2. Ensure no authentication headers or API keys are provided **Reproduction Commands:** ```bash # 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-000000000000 ``` **Expected vs Actual Behavior:** - **Expected:** All requests should return `401 Unauthorized` - **Actual:** All requests return successful responses with sensitive data or perform destructive operations ### Impact **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:** 1. **Data Breach**: Unauthorized access to user conversations containing potentially sensitive personal information 2. **Privacy Violation**: Transaction histories and user activity patterns exposed without consent 3. **Data Destruction**: Malicious actors can delete user conversation histories without authorization 4. **Compliance Risk**: Potential violations of data protection regulations (GDPR, CCPA, etc.) 5. **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: ```python @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" />
- PYSEC-2026-1524Langflow Missing Authentication on Critical API Endpoints2026-07-07vendor · osvUS
### Summary 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. ### Details 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:** 1. **GET `/api/v1/monitor/messages`** (Line 61) ```python @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]: ``` 2. **GET `/api/v1/monitor/transactions`** (Line 183) ```python @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]: ``` 3. **DELETE `/api/v1/monitor/messages/session/{session_id}`** (Line 165) ```python @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: ```python @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 secured ``` ### PoC Complete reproduction steps to demonstrate the vulnerability: **Prerequisites:** 1. Start a Langflow server instance 2. Ensure no authentication headers or API keys are provided **Reproduction Commands:** ```bash # 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-000000000000 ``` **Expected vs Actual Behavior:** - **Expected:** All requests should return `401 Unauthorized` - **Actual:** All requests return successful responses with sensitive data or perform destructive operations ### Impact **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:** 1. **Data Breach**: Unauthorized access to user conversations containing potentially sensitive personal information 2. **Privacy Violation**: Transaction histories and user activity patterns exposed without consent 3. **Data Destruction**: Malicious actors can delete user conversation histories without authorization 4. **Compliance Risk**: Potential violations of data protection regulations (GDPR, CCPA, etc.) 5. **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: ```python @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" />
- PYSEC-2026-2571Langflow Missing Authentication on Critical API Endpoints2026-07-13vendor · osvUS
### Summary 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. ### Details 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:** 1. **GET `/api/v1/monitor/messages`** (Line 61) ```python @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]: ``` 2. **GET `/api/v1/monitor/transactions`** (Line 183) ```python @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]: ``` 3. **DELETE `/api/v1/monitor/messages/session/{session_id}`** (Line 165) ```python @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: ```python @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 secured ``` ### PoC Complete reproduction steps to demonstrate the vulnerability: **Prerequisites:** 1. Start a Langflow server instance 2. Ensure no authentication headers or API keys are provided **Reproduction Commands:** ```bash # 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-000000000000 ``` **Expected vs Actual Behavior:** - **Expected:** All requests should return `401 Unauthorized` - **Actual:** All requests return successful responses with sensitive data or perform destructive operations ### Impact **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:** 1. **Data Breach**: Unauthorized access to user conversations containing potentially sensitive personal information 2. **Privacy Violation**: Transaction histories and user activity patterns exposed without consent 3. **Data Destruction**: Malicious actors can delete user conversation histories without authorization 4. **Compliance Risk**: Potential violations of data protection regulations (GDPR, CCPA, etc.) 5. **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: ```python @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" />
also known as (10)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-21445cnnvd
- https://github.com/langflow-ai/langflow/commit/3fed9fe1b5658f2c8656dbd73508e113a96e486acnnvd
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-c5cp-vx83-jhqxcnnvd
- https://www.langflow.org/desktopPatchcnnvd
- https://github.com/langflow-ai/langflow/commit/3fed9fe1b5658f2c8656dbd73508e113a96e486aenisa_euvd
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-c5cp-vx83-jhqxenisa_euvd
- https://github.com/langflow-ai/langflow/commit/3fed9fe1b5658f2c8656dbd73508e113a96e486aPatchnvd
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-c5cp-vx83-jhqxExploitVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan