PoC Monitor
← All CVEs
CVE-2026-5027published 27 Mar 2026 14:54 UTCData: JSON · API

Langflow

Langflow - Path Traversal Arbitrary File Write via upload_user_file

The 'POST /api/v2/files' endpoint does not sanitize the 'filename' parameter from the multipart form data, allowing an attacker to write files to arbitrary locations on the filesystem using path traversal sequences ('../').

First public PoC 5.8 daysafter publication · 2 Apr 2026
Public PoCs1210 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS8.8high · scored by CNA · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

langflow-ai langflow
  • 0

Mitigation

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

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published27 Mar 2026 · t = 0First public PoC2 Apr 2026 · t+5.8d

First public PoC 5.8 days after publication; not in CISA KEV. First PoC: yahiahamza/CVE-2026-5027 (created 2 Apr 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

10 PoCs

PoCs 10
RepositoryCreatedStarsAssessment
yahiahamza/CVE-2026-5027 2 Apr 2026 +5.8 d 4 PoC
min8282/CVE-2026-5027 3 Apr 2026 +6.8 d 0 PoC
EQSTLab/CVE-2026-5027 3 Apr 2026 +6.8 d 3 PoC
0xBlackash/CVE-2026-5027 3 Apr 2026 +7.1 d 0 PoC
0xredash/CVE-2026-5027 3 Apr 2026 +7.1 d 0 PoC
ashrafzaryouh/CVE-2026-5027 3 Apr 2026 +7.1 d 0 PoC
Layer-6/CVE-2026-5027-Langflow 10 Jun 2026 +75 d 0 PoC
HORKimhab/CVE-2026-5027 11 Jun 2026 +76 d 0 PoC via PoC Index
yym8538/CVE-2026-5027 21 Aug 2026 +147 d 1 PoC
rmhowe425/POC-CVE-2026-5027 2 Sep 2026 +159 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.
SourceTitlePublishedFound by us
Exploit-DBLangflow 1.8.4 - Path Traversal to Remote Code Execution31 Aug 202614 Nov 2026
nuclei templatenuclei template: Langflow <= 1.8.4 - Path Traversal to RCE via File Upload9 Jun 202614 Nov 2026

PoC characteristics

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

POST /api/v2/files

Key headers
Authorization: Bearer {var}
Body markers
------WebKitFormBoundaryxxx Content-Disposition: form-data; name="file"; filename="../../../tmp/CVE-2026-5027-nuclei-pro name="file" in multipart/form-data; boundary=----WebKitFormBoundaryxxx
Ports
7860, 9013
Seen in
7 repos: 0xBlackash/CVE-2026-5027, 0xredash/CVE-2026-5027, EQSTLab/CVE-2026-5027, ashrafzaryouh/CVE-2026-5027, min8282/CVE-2026-5027, yahiahamza/CVE-2026-5027, yym8538/CVE-2026-5027
Evidence
0xBlackash/CVE-2026-5027/CVE-2026-5027.yaml:12 0xredash/CVE-2026-5027/CVE-2026-5027.yaml:12 EQSTLab/CVE-2026-5027/CVE-2026-5027.py:113 ashrafzaryouh/CVE-2026-5027/CVE-2026-5027.yaml:12 min8282/CVE-2026-5027/poc.py:84 yahiahamza/CVE-2026-5027/exploit.py:83

Regex

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

POST /api/v2/files
(?i)^/api/v2/files(?:[?#].*)?$
GET /api/v1/auto_login
(?i)^/api/v1/auto_login(?:[?#].*)?$
POST /api/v1/login
(?i)^/api/v1/login(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/v2/files
alert http any any -> $HOME_NET [7860,9013] (msg:"GG PoC-Monitor CVE-2026-5027 langflow-ai langflow exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v2/files"; http.header; content:"Authorization: Bearer "; nocase; http.request_body; content:"------WebKitFormBoundaryxxx
Content-Disposition: form-data|3b| name=|22|file|22||3b| filename=|22|../../../tmp/CVE-2026-5027-nuclei-pro"; http.request_body; content:"name=|22|file|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-5027; classtype:web-application-attack; sid:9384857; rev:1;)
GET /api/v1/auto_login
alert http any any -> $HOME_NET [7860,9013] (msg:"GG PoC-Monitor CVE-2026-5027 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-5027; classtype:web-application-attack; sid:9074988; rev:1;)
POST /api/v1/login
alert http any any -> $HOME_NET [7860,9013] (msg:"GG PoC-Monitor CVE-2026-5027 langflow-ai langflow exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/login"; http.request_body; content:"|22|username|22|"; http.request_body; content:"|22|password|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-5027; classtype:web-application-attack; sid:9447078; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /api/v2/files
title: langflow-ai langflow exploit attempt (CVE-2026-5027)
id: gg-pocmon-cve-2026-5027-9384857
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-5027. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-5027
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/v2/files'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.5027
GET /api/v1/auto_login
title: langflow-ai langflow exploit attempt (CVE-2026-5027)
id: gg-pocmon-cve-2026-5027-9074988
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-5027. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-5027
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/v1/auto_login'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.5027
POST /api/v1/login
title: langflow-ai langflow exploit attempt (CVE-2026-5027)
id: gg-pocmon-cve-2026-5027-9447078
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-5027. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-5027
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/v1/login'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.5027