PoC Monitor
← All CVEs
CVE-2026-27966published 26 Feb 2026 01:55 UTCData: JSON · API

Langflow

Langflow has Remote Code Execution in CSV Agent

Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.8.0, the CSV Agent node in Langflow hardcodes `allow_dangerous_code=True`, which automatically exposes LangChain’s Python REPL tool (`python_repl_ast`). As a result, an attacker can execute arbitrary Python and OS commands on the server via prompt injection, leading to full Remote Code Execution (RCE). Version 1.8.0 fixes the issue.

First public PoC 5.6 daysafter publication · 3 Mar 2026
Public PoCs32 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CNA · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

langflow-ai langflow
  • < 1.8.0

Fixed in 1.8.0

Mitigation

Upgrade langflow to 1.8.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published26 Feb 2026 · t = 0First public PoC3 Mar 2026 · t+5.6d

First public PoC 5.6 days after publication; not in CISA KEV. First PoC: Anon-Cyber-Team/CVE-2026-27966--RCE-in-Langflow (created 3 Mar 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
Anon-Cyber-Team/CVE-2026-27966--RCE-in-Langflow 3 Mar 2026 +5.6 d 2 PoC
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

shinthink/CVE-2026-27966 5 Jul 2026 +130 d 2 PoC
Flags · score 15
  • owner account created less than 30 days before the repo

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.
SourceTitlePublishedFound by us
MetasploitMetasploit exploit: Langflow RCE (exploit/multi/http/langflow_rce_cve_2026_27966)9 Apr 202614 Nov 2026

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

GET /api/v1/auto_login

Seen in
1 repo: shinthink/CVE-2026-27966
Evidence
shinthink/CVE-2026-27966/README.md:93

GET /api/v1/flows/basic_examples/

Seen in
1 repo: shinthink/CVE-2026-27966
Evidence
shinthink/CVE-2026-27966/README.md:214

GET /api/v1/version

Seen in
1 repo: shinthink/CVE-2026-27966
Evidence
shinthink/CVE-2026-27966/README.md:208

GET /api/{var}

Query
c=id
Seen in
1 repo: shinthink/CVE-2026-27966
Evidence
shinthink/CVE-2026-27966/cve_2026_27966.py:173

POST /api/v1/build/{var}/vertices

Body markers
"id":"bkdr" "type":"CustomComponent" "data" "code" "display_name":"X" in application/json
Seen in
1 repo: shinthink/CVE-2026-27966
Evidence
shinthink/CVE-2026-27966/README.md:220

POST /api/v1/custom_component

Body markers
"name" "code":"""from fastapi import APIRouter, Query" "display_name":"X" in application/json
Seen in
1 repo: shinthink/CVE-2026-27966
Evidence
shinthink/CVE-2026-27966/cve_2026_27966.py:171

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /api/v1/auto_login
(?i)^/api/v1/auto_login(?:[?#].*)?$
GET /api/v1/flows/basic_examples/
(?i)^/api/v1/flows/basic_examples/(?:[?#].*)?$
GET /api/v1/version
(?i)^/api/v1/version(?:[?#].*)?$
GET /api/{var}
(?i)^/api/[^/?#]*\?(?:.*&)?c=id
POST /api/v1/build/{var}/vertices
(?i)^/api/v1/build/[^/?#]*/vertices(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /api/v1/auto_login
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-27966 langflow-ai langflow exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/v1/auto_login"; reference:url,poc.griffinguard.io/cve/CVE-2026-27966; classtype:web-application-attack; sid:9643030; rev:1;)
GET /api/v1/flows/basic_examples/
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-27966 langflow-ai langflow exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/v1/flows/basic_examples/"; reference:url,poc.griffinguard.io/cve/CVE-2026-27966; classtype:web-application-attack; sid:9719298; rev:1;)
GET /api/v1/version
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-27966 langflow-ai langflow exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/v1/version"; reference:url,poc.griffinguard.io/cve/CVE-2026-27966; classtype:web-application-attack; sid:9144873; rev:1;)
GET /api/{var}
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-27966 langflow-ai langflow exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/"; http.uri; content:"c=id"; reference:url,poc.griffinguard.io/cve/CVE-2026-27966; classtype:web-application-attack; sid:9124548; rev:1;)
POST /api/v1/build/{var}/vertices
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-27966 langflow-ai langflow exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/build/"; http.uri; content:"/vertices"; http.request_body; content:"|22|id|22|:|22|bkdr|22|"; http.request_body; content:"|22|type|22|:|22|CustomComponent|22|"; http.request_body; content:"|22|data|22|"; http.request_body; content:"|22|code|22|"; http.request_body; content:"|22|display_name|22|:|22|X|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-27966; classtype:web-application-attack; sid:9705923; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /api/v1/auto_login
title: langflow-ai langflow exploit attempt (CVE-2026-27966)
id: gg-pocmon-cve-2026-27966-9643030
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27966. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-27966
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/v1/auto_login'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.27966
GET /api/v1/flows/basic_examples/
title: langflow-ai langflow exploit attempt (CVE-2026-27966)
id: gg-pocmon-cve-2026-27966-9719298
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27966. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-27966
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/v1/flows/basic_examples/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.27966
GET /api/v1/version
title: langflow-ai langflow exploit attempt (CVE-2026-27966)
id: gg-pocmon-cve-2026-27966-9144873
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27966. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-27966
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/v1/version'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.27966
GET /api/{var}
title: langflow-ai langflow exploit attempt (CVE-2026-27966)
id: gg-pocmon-cve-2026-27966-9124548
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27966. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-27966
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/'
    cs-uri-query|contains|all:
      - 'c=id'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.27966
POST /api/v1/build/{var}/vertices
title: langflow-ai langflow exploit attempt (CVE-2026-27966)
id: gg-pocmon-cve-2026-27966-9705923
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27966. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-27966
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/v1/build/'
      - '/vertices'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.27966