ENH: Exploit module for Langflow Authenticated RCE vulnerability CVE-2026-19295 - #21837
ENH: Exploit module for Langflow Authenticated RCE vulnerability CVE-2026-19295#21837rmhowe425 wants to merge 11 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new Metasploit exploit module (and accompanying documentation) targeting CVE-2026-19295, an authenticated remote code execution vulnerability in Langflow (<= 1.10.0), addressing the request in #21836.
Changes:
- Introduces
exploit/multi/http/langflow_auth_rce_cve_2026_19295, implementing version checking, authentication, flow creation, and trigger logic. - Adds module documentation describing the vulnerable setup, verification steps, and a usage scenario.
Impact Analysis:
- Blast radius: Low — isolated to a new exploit module + its documentation; no shared framework/library code changes identified from the diff.
- Data and contract effects: No schema/ABI changes; new module adds a new user-facing capability and stores data server-side on the target (flow creation) as part of exploitation.
- Rollback and test focus: Rollback is straightforward (remove the new module/docs); validate authentication, flow creation, and exploit trigger against Langflow 1.10.0 as documented.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| modules/exploits/multi/http/langflow_auth_rce_cve_2026_19295.rb | New authenticated Langflow RCE exploit module for CVE-2026-19295 with AutoCheck/version detection and flow-based trigger. |
| documentation/modules/exploit/multi/http/langflow_auth_rce_cve_2026_19295.md | New module documentation covering vulnerable setup, verification steps, and an example scenario. |
Suppressed comments (2)
documentation/modules/exploit/multi/http/langflow_auth_rce_cve_2026_19295.md:46
- Important: Problem: the Options section is empty, despite introducing user-facing options (TARGETURI/USERNAME/PASSWORD/RPORT). Impact: operators may misconfigure the module or miss required settings. Fix: document the options and defaults in this section.
## Options
documentation/modules/exploit/multi/http/langflow_auth_rce_cve_2026_19295.md:41
- Critical: Problem: the verification steps reference a different module path (
langflow_unauth_rce_cve_2026_19295) and userunwith inline arguments. Impact: users following the docs will run the wrong module and likely fail to reproduce. Fix: update the steps to use this module’s path and standardset/exploitworkflow.
1. Install the application
2. Start msfconsole
3. Do: `use exploit/multi/http/langflow_unauth_rce_cve_2026_19295`
4. Do: `run lhost=<lhost> rhost=<rhost> username=<username> password=<password>`
5. You should get a meterpreter
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Test Results |
|
@bwatters-r7 should be good for a second round review |
|
@bwatters-r7 Updated implementation and documentation. Retesting was successful. Ready for 3rd round of reviews. |



Description
This pull request adds a new exploit module that detects and exploits an authenticated remote code execution vulnerability impacting Langflow versions 1.10.0 and below.
Related Issue:
Fixes #21836
Breaking Changes
None
Reviewer Notes
Verification Steps
docker pullanddocker runlangflow, per documentationuse exploit/multi/http/langflow_auth_rce_cve_2026_19295run lhost=<lhost> rhost=<rhost> username=<username> password=<password>exploitTest Evidence
Environment
AI Usage Disclosure
None
Pre-Submission Checklist
documentation/modules(new modules only)lib/changes)