Skip to main content

Deer Flow EUVDEUVD-2026-23456

| CVE-2026-40518 HIGH
Path Traversal (CWE-22)
2026-04-17 VulnCheck
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to DeerFlow as low-privilege user
  2. Delivery
    Access bootstrap-mode custom-agent creation
  3. Exploit
    Supply traversal sequence or absolute path as agent name
  4. Execution
    Application bypasses validation and writes to unintended location
  5. Persist
    Overwrite configuration file or inject malicious content
  6. Impact
    Achieve persistence or escalate privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires authenticated access to ByteDance DeerFlow with permissions to create custom agents in bootstrap mode. The CVSS vector PR:L indicates low-privilege authentication is sufficient-administrative access is NOT required. Exploitation specifically targets the bootstrap-mode custom-agent creation workflow; standard agent operations are not affected. The DeerFlow instance must be accessible to the attacker (AV:N indicates network accessibility, though this could include internal network access). Impact is constrained by the filesystem permissions of the DeerFlow application process-arbitrary file write succeeds only in locations where the process has write privileges. Deployments restricting custom-agent creation to administrators or running DeerFlow with minimal filesystem permissions limit exploitability. No user interaction required (UI:N) once the attacker has authenticated access.

Impact

Real-world risk is MODERATE-HIGH with important caveats. CVSS 7.1 (High integrity impact, Low availability impact) accurately reflects the arbitrary file write capability but may overstate practical risk due to exploitation prerequisites. The CVSS:4.0 vector shows PR:L (low-privilege authentication required) and AV:N (network vector), indicating remote exploitation by authenticated users-this is NOT an unauthenticated remote code execution scenario. Attack complexity is low (AC:L) once authenticated access exists. Critical missing signal: EPSS score unavailable, preventing probability-based prioritization. Not present in CISA KEV, suggesting no confirmed widespread or active exploitation in enterprise environments. However, GitHub PR #2274 provides technical details that could enable POC development. SSVC assessment: Exploitation=POC (technical details public), Automatable=No (requires authenticated session), Technical Impact=Partial (file write constrained by process permissions). Primary risk scenarios: (1) Compromised low-privilege accounts escalating impact through configuration file overwrites, (2) Malicious insiders tampering with ML pipeline configurations, (3) Supply chain attacks if DeerFlow instances are externally accessible. Risk is SIGNIFICANTLY LOWER if: DeerFlow is deployed internally with strong authentication, filesystem permissions restrict application process write access, or bootstrap-mode custom-agent creation is restricted to administrators only. Organizations should prioritize patching if DeerFlow is internet-facing or accessible to untrusted authenticated users.

Exploit ScenarioDerived

An authenticated attacker with low-privilege access to a DeerFlow instance initiates custom-agent creation in bootstrap mode. Instead of a legitimate agent name like 'ml-pipeline-agent', the attacker supplies a traversal-style name such as '../../../etc/cron.d/malicious' or an absolute path like '/opt/deerflow/config/override.conf'. DeerFlow's insufficient validation accepts the malicious name, creating directories and writing files outside the intended custom-agent directory tree. The attacker overwrites a configuration file or injects a cron job, achieving persistence or privilege escalation depending on filesystem permissions. GitHub PR #2274 provides technical implementation details that could guide POC development.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 17, 2026

Path traversal in ByteDance DeerFlow's bootstrap-mode custom-agent creation allows authenticated remote attackers to write arbitrary files outside intended directories. Affected versions prior to commit 2176b2b fail to validate agent names, enabling directory traversal sequences (../) or absolute paths to bypass containment controls. Successful exploitation achieves arbitrary file write subject to application process permissions, enabling configuration tampering, code injection, or denial of service. Vendor patch available via GitHub commit 2176b2b. EPSS data unavailable; not currently listed in CISA KEV. Publicly available exploit code exists (GitHub PR #2274 demonstrates vulnerability).

RemediationAI

Upgrade to ByteDance DeerFlow commit 2176b2bbfccfce25ceee08318813f96d843a13fd or later, which implements proper path validation for agent names in bootstrap-mode custom-agent creation. The patch is available via GitHub at https://github.com/bytedance/deer-flow/commit/2176b2bbfccfce25ceee08318813f96d843a13fd. Organizations unable to immediately patch should implement defense-in-depth controls: (1) Restrict custom-agent creation permissions to trusted administrator accounts only, reducing the attack surface to insider threats; (2) Deploy filesystem-level write restrictions ensuring the DeerFlow application process cannot write to sensitive directories like configuration roots, binary directories, or web-accessible paths (note: this limits impact but does not prevent exploitation, and may interfere with legitimate agent operations); (3) Enable comprehensive filesystem audit logging to detect path traversal attempts in agent name parameters; (4) If DeerFlow is exposed to untrusted networks, place it behind authentication gateways requiring MFA for low-privilege accounts. Review existing custom-agent configurations for suspicious names containing '../' sequences or absolute paths, which may indicate prior exploitation attempts. Compensating controls reduce but do not eliminate risk-patching remains the primary mitigation.

Affected VersionsENISA

deer-flow 0 <2176b2bbfccfce25ceee08318813f96d843a13fd

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

DeerFlow is ByteDance's workflow orchestration platform for machine learning pipelines. This vulnerability affects the bootstrap-mode functionality responsible for creating custom agent configurations. The flaw stems from insufficient input validation (CWE-22: Improper Limitation of a Pathname to a Restricted Directory) when processing user-supplied agent names during the creation workflow. The application fails to sanitize path traversal sequences (../, ..\ ) and absolute paths before using the agent name parameter in filesystem operations. When an authenticated user creates a custom agent, the unsanitized name is passed to directory creation and file write operations, allowing attackers to escape the intended custom-agent directory tree. The CVSS:4.0 vector (AV:N/AC:L/PR:L) confirms this is a network-accessible attack with low complexity requiring only low-privilege authentication. The affected CPE (cpe:2.3:a:bytedance:deer-flow) indicates all pre-patch versions are vulnerable, with the fix implemented in commit 2176b2b.

Know when Deer Flow gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck) · only source for this CVE.

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Apr 17, 2026 - 17:15 nvd
Patch available
CVE Published
Apr 17, 2026 - 16:43 nvd
HIGH 7.1

DescriptionCVE.org

ByteDance DeerFlow before commit 2176b2b contains a path traversal and arbitrary file write vulnerability in bootstrap-mode custom-agent creation where the agent name validation is bypassed. Attackers can supply traversal-style values or absolute paths as the agent name to influence directory creation and write files outside the intended custom-agent directory, potentially achieving arbitrary file write on the system subject to filesystem permissions.

Executive ViewAI

Why It Matters

ByteDance DeerFlow contains a path traversal vulnerability in custom-agent creation that allows authenticated users to write arbitrary files outside intended directories, potentially enabling configuration tampering, code injection, or service disruption. Organizations using DeerFlow versions prior to commit 2176b2b must update immediately to prevent insider threats and system compromise via legitimate user credentials.

Business Impact: High
Compensating Controls

Vendor-released patch: commit 2176b2b or later. Until patched: restrict custom-agent creation functionality to trusted administrators only; implement file system access controls to limit application process write permissions to intended directories; monitor for unauthorized file creation outside application boundaries.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy