PoC Monitor
← All CVEs
CVE-2026-42048published 12 May 2026 17:35 UTCData: JSON · API

Langflow

Langflow: Path Traversal in Langflow Knowledge Bases API

Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to 1.9.0, Langflow is vulnerable to Path Traversal in the Knowledge Bases API (DELETE /api/v1/knowledge_bases). This occurs because user-supplied knowledge base names are concatenated directly into file paths without proper sanitization or boundary validation. An authenticated attacker can exploit this flaw to delete arbitrary directories anywhere on the server's filesystem, leading to data loss and potential service disruption. This vulnerability is fixed in 1.9.0.

First public PoC 8.7 daysafter publication · 21 May 2026
Public PoCs11 on GitHub
CVSS9.6critical · 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
  • < 1.9.0

Fixed in 1.9.0

Mitigation

Upgrade langflow to 1.9.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8+10CVE published12 May 2026 · t = 0First public PoC21 May 2026 · t+8.7d

First public PoC 8.7 days after publication; not in CISA KEV. First PoC: EQSTLab/CVE-2026-42048 (created 21 May 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
EQSTLab/CVE-2026-42048 21 May 2026 +8.7 d 2 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

DELETE /api/v1/knowledge_bases

Body markers
"kb_names" in application/json
Ports
7860, 9101
Seen in
1 repo: EQSTLab/CVE-2026-42048
Evidence
EQSTLab/CVE-2026-42048/README.md:81 EQSTLab/CVE-2026-42048/poc.py:34

Regex

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

DELETE /api/v1/knowledge_bases
(?i)^/api/v1/knowledge_bases(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

DELETE /api/v1/knowledge_bases
alert http any any -> $HOME_NET [7860,9101] (msg:"GG PoC-Monitor CVE-2026-42048 langflow-ai langflow exploit attempt"; flow:established,to_server; http.method; content:"DELETE"; http.uri; content:"/api/v1/knowledge_bases"; http.request_body; content:"|22|kb_names|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-42048; classtype:web-application-attack; sid:9055053; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

DELETE /api/v1/knowledge_bases
title: langflow-ai langflow exploit attempt (CVE-2026-42048)
id: gg-pocmon-cve-2026-42048-9055053
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-42048. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-42048
logsource:
  category: webserver
detection:
  selection:
    cs-method: DELETE
    cs-uri-stem|contains|all:
      - '/api/v1/knowledge_bases'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.42048