PoC Monitor
← All CVEs
CVE-2026-0768published 23 Jan 2026 03:28 UTCData: JSON · API

Langflow

Langflow code Code Injection Remote Code Execution Vulnerability

Langflow code Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of the code parameter provided to the validate endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of root. . Was ZDI-CAN-27322.

First public PoC 221 daysafter publication · 1 Sep 2026
Public PoCs42 on GitHub · 2 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 Langflow
  • 1.4.2

Mitigation

The record names no fix. Check the vendor advisory below.

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150+180+210CVE published23 Jan 2026 · t = 0First public PoC1 Sep 2026 · t+221d

First public PoC 221 days after publication; not in CISA KEV. First PoC: HORKimhab/CVE-2026-0768 (created 1 Sep 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
HORKimhab/CVE-2026-0768 1 Sep 2026 +221 d 0 PoC
rmhowe425/POC-CVE-2026-0768 2 Sep 2026 +223 d 0 PoC

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.

PoC characteristics

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

Regex

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

POST /api/v1/validate/code
(?i)^/api/v1/validate/code(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/v1/validate/code
alert http any any -> $HOME_NET [7860] (msg:"GG PoC-Monitor CVE-2026-0768 Langflow Langflow exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/validate/code"; http.request_body; content:"|22|code|22|"; http.request_body; content:"|22|code|22|:|22|def test(): pass|22|"; http.request_body; content:"|22|code|22|:|22|def exploit(x=__import__('os').system('id')): pass|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-0768; classtype:web-application-attack; sid:9817242; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /api/v1/validate/code
title: Langflow Langflow exploit attempt (CVE-2026-0768)
id: gg-pocmon-cve-2026-0768-9817242
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-0768. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-0768
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.0768