Skip to content

ENH: Exploit module for Langflow authenticated Remote Code Execution vulnerability CVE-2026-7873 - #21877

Open
rmhowe425 wants to merge 1 commit into
rapid7:masterfrom
rmhowe425:dev/cve-2026-7873
Open

ENH: Exploit module for Langflow authenticated Remote Code Execution vulnerability CVE-2026-7873#21877
rmhowe425 wants to merge 1 commit into
rapid7:masterfrom
rmhowe425:dev/cve-2026-7873

Conversation

@rmhowe425

Copy link
Copy Markdown
Contributor

Description

This pull request adds a new exploit module that detects and exploits an authenticated remote code execution vulnerability impacting Langflow versions 1.0.0 through 1.10.0

Related Issue:
Fixes #21876

Breaking Changes

None

Reviewer Notes

Verification Steps

  1. docker pull and docker run langflow, per documentation
  2. Start msfconsole
  3. Do: use exploit/multi/http/langflow_unauth_rce_cve_2026_7873
  4. Do: set rhosts=<rhost> username=<username> password=<password>
  5. Do: exploit
  6. You should get a meterpreter session

Test Evidence

image

Environment

Field Details
Operating System Ubuntu 22.04
Target Software/Hardware langflow 1.8.4
Docker Image / Vagrant Setup langflowai/langflow:1.8.4

AI Usage Disclosure

None

Pre-Submission Checklist

  • Included a corresponding documentation markdown file in documentation/modules (new modules only)
  • No sensitive information (IP addresses, credentials, API keys, hashes) in code or documentation
  • Tested on the target environment specified in the Environment section above
  • Included RSpec tests for library changes (encouraged for lib/ changes)
  • Read the CONTRIBUTING.md and module acceptance guidelines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

ENH: Exploit module for Langflow authenticated Remote Code Execution vulnerability CVE-2026-7873

1 participant