Skip to content

CVE-2025-26319: Flowise Arbitrary File Upload and Directory Traversal Remote Code Execution

HERMES

HERMES THREAT SCORE & OPERATIONAL EXPLOITABILITY

Target: Flowise Knowledge Upload API /api/v1/attachments
Confidence: 96%
96 / 100
EXTREME

Measures real-world operational relevance, exploit weaponization, and active threat posture.

Dimension Breakdown
Exploitability 20 / 20
Threat Activity 18 / 20
Weaponization 19 / 20
Exposure 19 / 20
Prevalence 18 / 20
Impact 20 / 20
Exploit Maturity 19 / 20
Attack Chain Potential 20 / 20
โš–๏ธ Divergence & Operational Rationale

CVSS v3.1 rates this vulnerability at 9.8. Hermes Threat Score rates it at 96 (EXTREME) taking into account active exploit telemetry, critical AI workflow dependencies, and immediate host privilege escalation.

HASS

HASS AGENTIC SEVERITY & AUTONOMOUS RISK EVALUATION

Target: Flowise AI Workflow Builder Tool & Memory Architecture
Confidence: 95%
92 / 100
CRITICAL

Measures specific systemic risk arising from autonomy, tool authority, and cascading execution.

Dimension Breakdown
Autonomy 17 / 20
Tool Access 20 / 20
Privilege 19 / 15
Persistence 19 / 15
External Impact 19 / 15
Propagation 18 / 15
โš–๏ธ Divergence & Operational Rationale

Agentic security failure classified under AAP-005 (RAG Document Poisoning / Ingestion Path Traversal). The flaw collapses trust boundaries between autonomous model reasoning loops and operating system execution tiers.

๐Ÿ•ธ๏ธ Connected Knowledge Graph & Provenance

CVE-2025-26319: Flowise Arbitrary File Upload and Directory Traversal Remote Code ExecutionVULNERABILITY

Connected Nodes: 2
Active Relationships (Outgoing)
→ affectsPRODUCTFlowise AI Workflow Builder
98% VERY_HIGH

Software platform affected by security vulnerabilities and agentic attack patterns.

๐Ÿ” Why is this related? (Evidence & Provenance)

“Confirmed security vulnerability in Flowise AI Workflow Builder documented in Hermes dossier.”

Supporting Verified Evidence:
→ exploitsAGENTIC ATTACK_PATTERNAAP-005: Memory & Vector DB Knowledge Corruption
92% VERY_HIGH

Poisoning of vector embeddings, knowledge bases, or long-term agent memories to induce persistent bias, backdoors, or state manipulation across multiple user sessions.

๐Ÿ” Why is this related? (Evidence & Provenance)

“CVE-2025-26319 weaponizes the agentic attack pattern formalized under AAP-005.”

Supporting Verified Evidence:

Flowise AI Workflow Builder is widely deployed in production environments to support large language model orchestration, data pipelines, and agentic workflows. CVE-2025-26319 represents a significant threat to enterprise infrastructure:

AttributeTechnical SpecificationOperational Ramification
Vulnerability IDCVE-2025-26319Tracked in Hermes Knowledge Graph
Affected SystemFlowise AI Workflow BuilderFlowiseAI
Vulnerable ComponentFlowise Knowledge Upload API /api/v1/attachmentsInput processing & execution gate
Exploit VectorNetwork / Local Untrusted ContextCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA KEV StatusMonitored / High Weaponization PotentialUrgent patching prioritization
Attack TechniquesT1505.003 (Server Software Component: Web Shell), T1190 (Exploit Public-Facing Application)MITRE ATT&CK Framework
Agentic Attack PatternAAP-005 (RAG Document Poisoning / Ingestion Path Traversal)Hermes Agentic Security Catalog

The vulnerability stems from insufficient validation and flawed isolation boundaries in Flowise Knowledge Upload API /api/v1/attachments:

[ Attacker Payload / Untrusted Input ]
โ”‚
โ–ผ
[ Ingress: Flowise Knowledge Upload API /api/v1/attachments ]
โ”‚ (Missing Canonical Sanitization / Dangerous Evaluation)
โ–ผ
[ Execution Tier: Host OS / Runtime Subprocess ]
โ”‚
โ–ผ
[ Impact: Arbitrary Code Execution / Credential Exfiltration ]

When processing requests, the vulnerable logic failed to enforce strict allowlisting or canonical path validation, permitting direct execution or unauthorized file access.


Defenders must understand how threat actors weaponize CVE-2025-26319 in real-world intrusion operations:

  1. Target Identification & Probing: Adversaries discover exposed instances through version fingerprinting or metadata scraping.
  2. Payload Delivery: A crafted request containing the exploit payload is transmitted to the vulnerable endpoint (Flowise Knowledge Upload API /api/v1/attachments).
  3. Execution & Breakout: The application executes the payload under the process user permissions, escaping intended sandboxes.
  4. Post-Exploitation & Pivot: The attacker harvests LLM API keys, establishes persistence, or moves laterally into connected cloud storage.

Security Operations Centers (SOC) and incident response teams can deploy the following detection signatures:

title: Suspicious Execution from Flowise AI Workflow Builder Subprocess (CVE-2025-26319)
status: experimental
description: Detects abnormal process execution or file creation spawned by Flowise AI Workflow Builder
references:
- https://codex.hermes-cyber.com/cve/2025/cve-2025-26319/
author: Hermes Cyber Intelligence
logsource:
category: process_creation
product: linux
detection:
selection:
ParentImage|endswith:
- '/python'
- '/node'
- '/langflow'
- '/flowise'
Image|endswith:
- '/sh'
- '/bash'
- '/curl'
- '/wget'
condition: selection
falsepositives:
- Legitimate administrative tooling
level: high

To mitigate exposure to CVE-2025-26319:

  1. Immediate Upgrade: Upgrade to Flowise 2.2.7 or later immediately.
  2. Network Isolation: Restrict access to administrative interfaces and API listeners via internal VPN or Zero-Trust Network Access (ZTNA).
  3. Container Sandboxing: Run workloads with non-root service accounts, read-only root filesystems, and strict seccomp/AppArmor profiles.
  4. Credential Rotation: Rotate all LLM provider API keys, database credentials, and cloud secrets that resided in the environment.