| عنوان | bytedance DeerFlow 2.2.0 Improper Authorization |
|---|
| الوصف | DeerFlow's fine-grained RBAC gate for sandbox execution treats an unreadable configuration file as “authorization is not configured”. The gate loads configuration through `safe_app_config()`, which returns `None` for every exception from `get_app_config()`. The sandbox decision code treats `None` as a disabled policy and returns without evaluating the caller's role. Because the configuration loader re-resolves and re-reads `config.yaml` on each call, a running Gateway whose file is removed or truncated after startup silently stops enforcing the sandbox policy for every role. A role explicitly denied the sandbox capability can then execute sandbox file and shell tools until the file becomes readable again.
The demonstrated impact is unauthorized read and write of the thread workspace and, with the AIO sandbox provider, command execution inside the sandbox container. The loss applies to every sandbox:execute call during the window, not only the tested role; cross-user/cross-thread path checks and host-shell restrictions remain in place. The expected behavior is to fail closed when a configuration that previously enabled authorization can no longer be read, while preserving the documented no-op behavior for a process that never had a configuration. |
|---|
| المصدر | ⚠️ https://github.com/bytedance/deer-flow/pull/8185 |
|---|
| المستخدم | EM1234 (UID 102960) |
|---|
| ارسال | 12/11/2026 11:42 AM (22 أيام منذ) |
|---|
| الاعتدال | 04/12/2026 01:26 PM (22 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 449727 [Bytedance DeerFlow 2.1.0/2.2.0 Sandbox Authorization Gate sandbox_authz.py safe_app_config تجاوز الصلاحيات] |
|---|
| النقاط | 20 |
|---|