IBM Langflow OSS
Code Injection Vulnerability in Code Validation Endpoint
IBM Langflow OSS 1.0.0 through 1.10.0 allows authenticated attackers to execute arbitrary OS commands and read sensitive files including credentials, enabling complete system compromise and lateral movement.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 1.0.0, <= 1.10.0
- >= 1.0.0, < 1.10.1.rc0
Fixed in 1.10.1.rc0
from GitHub Security Advisory GHSA-v798-mcc6-2m3m
Mitigation
IBM strongly recommends addressing the vulnerability now by upgrading Langflow OSS to version 1.10.1 https://pypi.org/project/langflow/
References
- Vendor advisory ibm.com/support/pages/node/7278441
Timeline
Days relative to CVE publicationFirst public PoC 66 days after publication; not in CISA KEV. First PoC: rmhowe425/POC-CVE-2026-7873 (created 5 Sep 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| rmhowe425/POC-CVE-2026-7873 | 5 Sep 2026 +66 d | 3 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: Langflow AI Code Validation Authenticated RCE (exploit/multi/http/langflow_auth_rce_cve_2026_7873) | 5 Sep 2026 | 14 Nov 2026 |
| nuclei template | nuclei template: Langflow 1.7.2-1.10.0 - Authenticated Remote Code Execution | 26 Oct 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /api/v1/login
- Body markers
username=password=inapplication/x-www-form-urlencoded- Ports
- 7860
- Seen in
- 1 repo: rmhowe425/POC-CVE-2026-7873
- Evidence
- rmhowe425/POC-CVE-2026-7873/poc.py:33
POST /api/v1/validate/code
- Key headers
Authorization: Bearer {var}- Body markers
"code":def exploit(__import__('subprocess').runshell=True/bin/bash -cinapplication/json- Ports
- 7860
- Seen in
- 1 repo: rmhowe425/POC-CVE-2026-7873
- Evidence
- rmhowe425/POC-CVE-2026-7873/poc.py:65 rmhowe425/POC-CVE-2026-7873/poc.py:66 rmhowe425/POC-CVE-2026-7873/poc.py:69
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/v1/login(?:[?#].*)?$
(?i)^/api/v1/validate/code(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [7860] (msg:"GG PoC-Monitor CVE-2026-7873 IBM Langflow OSS exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/login"; http.request_body; content:"username="; http.request_body; content:"password="; reference:url,poc.griffinguard.io/cve/CVE-2026-7873; classtype:web-application-attack; sid:9781847; rev:1;)
alert http any any -> $HOME_NET [7860] (msg:"GG PoC-Monitor CVE-2026-7873 IBM Langflow OSS exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/validate/code"; http.header; content:"Authorization: Bearer "; nocase; http.request_body; content:"|22|code|22|:"; http.request_body; content:"def exploit("; http.request_body; content:"__import__('subprocess').run"; http.request_body; content:"shell=True"; http.request_body; content:"/bin/bash -c"; reference:url,poc.griffinguard.io/cve/CVE-2026-7873; classtype:web-application-attack; sid:9722736; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: IBM Langflow OSS exploit attempt (CVE-2026-7873)
id: gg-pocmon-cve-2026-7873-9781847
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-7873. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-7873
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/v1/login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.7873
title: IBM Langflow OSS exploit attempt (CVE-2026-7873)
id: gg-pocmon-cve-2026-7873-9722736
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-7873. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-7873
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/v1/validate/code'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.7873