| Título | massgen MassGen 0.1.97 Improper Authorization |
|---|
| Descrição | A vulnerability was found in MassGen up to 0.1.97. Delegated subagents on the default evaluator path are built without the parent agent's permissions block, so the child runs without the permission engine and hardline command blocklist and with SRT read confinement reduced from strict to confined, allowing it to read files the parent's sandbox denied. When the parent workspace is not mounted read-only under the child, it also writes files that the parent's read-only role denied.
The generator only passes the parent's backend settings through on non-legacy origins; the default round_evaluator type and calls whose parent_agent_id is not in the parent agent configurations take the legacy branch, keeping only a short whitelist. The permissions block, hooks, command_line_srt_read_only, command_line_srt_read_mode, command_line_srt_allow_read and the docker memory and CPU limits are dropped, while srt mode and the network allowlist are kept.
Verified at commit 007bd857 with a real child massgen process and a real srt sandbox: the fault child had no permission hooks and read outside the parent's strict allowlist, and in the unmounted configuration wrote its workspace; the control child with an inherited permissions block was denied. Affected are srt deployments with a permissions block that delegate without an orchestrator agents block; docker mode also loses the resource limits. The subagent still runs as the same process user and passes the path layer, so this is not a container escape. The default parent-workspace mount incidentally blocks the write through SRT denyWrite, but the permission and read-confinement losses remain. No fix is available in 0.1.97. |
|---|
| Fonte | ⚠️ https://github.com/massgen/MassGen/issues/1136 |
|---|
| Utilizador | EM111 (UID 102699) |
|---|
| Submissão | 03/11/2026 18h22 (há 24 dias) |
|---|
| Moderação | 27/11/2026 21h45 (24 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 445019 [MassGen até 0.1.97 Subagent Delegation System manager.py _generate_subagent_yaml_config Elevação de Privilégios] |
|---|
| Pontos | 20 |
|---|