Skip to main content

DeerFlow EUVDEUVD-2026-145160

| CVE-2026-144911 LOW
Improper Authorization (CWE-285)
2026-12-05 VulDB GHSA-3mhc-pgp4-j5gc
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to DeerFlow gateway (PR:L)
  2. Delivery
    AppConfig read fails while authorization is enabled
  3. Exploit
    Sandbox gate fails open and no-ops
  4. Execution
    Invoke sandbox:execute without authorization
  5. Impact
    Perform limited unauthorized sandbox operations

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

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

Exploitation Conditions

Exploitation requires three things grounded in the diff: (1) authorization must actually be enabled (authorization.enabled: true) in DeerFlow's config.yaml, since the gate is designed to be a no-op when authorization was never configured; (2) authenticated low-privilege access to the gateway (PR:L) to reach the sandbox:execute / thread-run / artifact-archive paths that consume safe_app_config(); and (3) a config-read failure (get_app_config raising) AFTER an authorization-enabled config existed, which in the vulnerable code caused safe_app_config() to return None and the sandbox gate to silently permit execution. Limiting factors: default/CI deployments without an authorization-enabled config are unaffected, authentication is required (not anonymous), and exploitation depends on the transient config-unavailability condition rather than a directly attacker-controlled input - the trigger of that failure is not described in the available sources.

Impact

This is a moderate-severity improper-authorization (CWE-285) flaw whose real-world risk is bounded, not emergency-grade. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L, score 5.3) indicates a remote but authenticated (PR:L) issue with only low impact to confidentiality, integrity, and availability. The source diff clarifies the mechanism: the sandbox authorization gate previously 'failed open' - when the AppConfig could not be read, safe_app_config() returned None and authorize_sandbox_execution() treated that identically to authorization.enabled: false, silently turning the sandbox:execute gate into a no-op. The patch makes the gate fail closed once an authorization-enabled config has ever been loaded. Exploitation is therefore contingent on authorization having been enabled AND a config-read failure occurring, so AC in practice is higher than the input's AC:L suggests. Signals are consistent and point to measured urgency: the vuln.today Decision label is 'this_month' (not act_now/emergency), there is NO CISA KEV listing, and no EPSS score was provided. The E:P (Proof-of-Concept) exploit-maturity metric aligns with the PoC-reference-only status - not confirmed weaponized exploit code. Net: a real, patch-worthy authorization weakness in a niche product, but not a high-urgency, widely-exploited threat on current signals.

Exploit ScenarioDerived

An authenticated user of a DeerFlow gateway where sandbox authorization has been enabled waits for or benefits from a transient AppConfig read failure, during which safe_app_config() returns None and the sandbox:execute gate silently no-ops. In that window the user invokes sandbox-backed operations (e.g. run/artifact paths) that should have been authorization-checked, obtaining limited unauthorized execution. A public PoC reference exists (GitHub PR #8185); it is not verified as working exploit code, and the AC:L/complexity reflects the vendor score rather than a demonstrated always-on trigger.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available

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

Alert me

AnalysisAIv1 – Dec 05, 2026

Improper authorization in ByteDance DeerFlow 2.1.0 and 2.2.0 lets an authenticated low-privilege user reach the sandbox authorization gate in a state where the policy is unknown and the gate silently permits execution instead of denying it. The flaw lives in safe_app_config() in backend/packages/harness/deerflow/authz/sandbox_authz.py, which returns None when the application config cannot be read and is then treated the same as 'authorization disabled', so sandbox:execute and the thread-run/artifact-archive paths it guards proceed without an authorization check. Triggering it requires authorization to have been enabled in config.yaml, a low-privilege authenticated session, and a config-read failure occurring after an authorization-enabled config existed; the cause of that failure is not described in the available sources. A public PoC reference exists (the upstream fix pull request is tagged as an exploit reference) but it is not verified as working exploit code, and there is no CISA KEV confirmation of active exploitation; vendor.priority is this_month and the risk is bounded rather than emergency-grade.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply commit ae871431a2e38febba5567c37a27b644febbd7d4 from pull request https://github.com/bytedance/deer-flow/pull/8185, which makes safe_app_config() fail closed by raising SandboxAuthorizationError once an authorization-enabled config has been observed and updates the artifact-archive endpoint to return HTTP 503 instead of proceeding unchecked. No tagged DeerFlow release containing this commit is confirmed in the available data, so pin or vendor the patched commit and verify the version you deploy. Until then, compensating steps that match the flaw's prerequisites: keep authorization.enabled: true set in config.yaml and confirm via get_app_config()/peek_loaded_app_config() that the configuration loads reliably, since the vulnerable behavior only manifests on a config-read failure after authorization was enabled (trade-off: this is a hardening measure, not a substitute for the fix, because the read failure can still downgrade the gate); and restrict access to the gateway sandbox:execute, thread-run and artifact-archive endpoints to trusted operators so the required authenticated low-privilege access (PR:L) is not broadly granted (trade-off: reduces functionality for legitimate users of artifact archives). Per the vendor guidance, patching is the complete resolution, and the vendor advisory should be tracked for an official release announcement.

Affected VersionsENISA

DeerFlow 2.1.0
DeerFlow 2.2.0

Affected Packages

euvd deerflow no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

DeerFlow is a Python-based agent harness with a gateway layer (backend/app/gateway, including routers/thread_runs.py) and a harness package (backend/packages/harness/deerflow) that enforces authorization for sandbox execution. The security control is a sandbox authorization gate in deerflow/authz/sandbox_authz.py: safe_app_config() loads the global AppConfig - normally produced from config.yaml via get_app_config() - and authorize_sandbox_execution() treats a None app_config identically to authorization.enabled: false, i.e. a no-op. The original code wrapped the load in a blanket try/except that returned None on any exception, so a transient config-read failure after an authorization-enabled configuration had already been in effect downgraded the gate from 'enforce' to 'permit'. This is CWE-285 (Improper Authorization): the policy decision fails open when the policy source is unreadable. The upstream fix commit ae871431a2e38febba5567c37a27b644febbd7d4 introduces a process-global _authorization_config_loaded flag and a peek_loaded_app_config() check, so that once authorization has ever been observed as enabled, a subsequent read failure raises SandboxAuthorizationError instead of returning None; the change is deliberately unconditional because authorization.fail_closed itself lives in the unreadable config. Callers were adapted accordingly - create_run_artifact_archive() in backend/app/gateway/routers/thread_runs.py now catches SandboxAuthorizationError and returns HTTP 503 'Artifact archive is temporarily unavailable' - and test fixtures reset the global flag between runs. Prerequisites from the patch: authorization.enabled: true must be set, the caller must hold an authenticated low-privilege session (CVSS 4.0 PR:L), and the config read must fail; deployments that never configured authorization are unaffected, and the authentication requirement rules out anonymous exploitation.

Know when Deerflow 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 (VulDB) PRIMARY 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.0 MEDIUM

Remote but authenticated (PR:L) gateway access; AC:H because exploitation depends on a transient config-read failure while authorization is enabled, with only low C/I/A impact from a bypassed sandbox gate.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

3
Severity Changed
Dec 05, 2026 - 07:22 NVD
MEDIUM LOW
CVSS changed
Dec 05, 2026 - 07:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Dec 05, 2026 - 06:30 cve.org
MEDIUM 5.3

DescriptionCVE.org

A security vulnerability has been detected in Bytedance DeerFlow 2.1.0/2.2.0. This affects the function safe_app_config of the file backend/packages/harness/deerflow/authz/sandbox_authz.py of the component Sandbox Authorization Gate. Such manipulation leads to improper authorization. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. The name of the patch is ae871431a2e38febba5567c37a27b644febbd7d4. It is best practice to apply a patch to resolve this issue.

Threat Intelligence Overview

Prevalence
Low
niche open-source AI agent framework, limited real production deployment
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 LOW
CISA KEV No
Public POC Yes
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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