Submeter #1071946: massgen MassGen 0.1.97 Protection Mechanism Failureinformação

Títulomassgen MassGen 0.1.97 Protection Mechanism Failure
DescriçãoMassGen up to 0.1.97 silently replaces a configured Docker execution mode with local execution when MassGen runs under Docker, dropping the network, credential and resource limits that mode provides. Agent-generated commands then run as ordinary processes in the deployment, with the outer container network and the full MassGen process environment, including provider API keys and cloud or CI credentials. One prompt injection in content the model reads becomes data exfiltration and code execution. FilesystemManager.__init__ (massgen/filesystem_manager/_filesystem_manager.py lines 298-308) sets a docker mode to local when /.dockerenv exists, before any container operation, so it fires even with a reachable Docker daemon; no DockerManager is created and the command-line MCP server gets --execution-mode local (line 1789). Commands run via subprocess.run with shell=True and os.environ.copy() instead of with the configured network, limits and credential allowlist (massgen/filesystem_manager/_code_execution_server.py lines 136-156; _docker_manager.py lines 272-317 and 864-892). Affected are Docker deployments (devcontainer, docker-compose, Docker CI); Podman and containerd/CRI-O are not. Verified on tag 0.1.97 at commit 007bd857.
Fonte⚠️ https://github.com/massgen/MassGen/issues/1135
Utilizador
 EM111 (UID 102699)
Submissão03/11/2026 16h59 (há 24 dias)
Moderação27/11/2026 21h45 (24 days later)
EstadoAceite
Entrada VulDB445018 [MassGen até 0.1.97 _filesystem_manager.py __init__ Elevação de Privilégios]
Pontos20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!