Un fallo en Docker Sandboxes dejaba robar las claves de API de los agentes de IA
El permiso que aprobaba los dominios de un kit de terceros nunca se volvía a comprobar: una actualización del mismo kit podía desviar la clave real de Anthropic, OpenAI o GitHub a un servidor del atacante. Corregido en la versión 0.55.0.
The approval that recorded a third-party kit's allowed domains was never read back: an update to the same kit could redirect the real Anthropic, OpenAI or GitHub key to an attacker's server. Fixed in version 0.55.0.
Docker Sandboxes existe para que una clave de API nunca entre en la máquina virtual donde corre un agente de programación. El desarrollador guarda la clave en el anfitrión, el agente envía una cabecera con un marcador y un proxy cambia el marcador por la clave real al salir. Un fallo en ese mecanismo permitía que un kit de agente de terceros se quedara con la clave sin pedir permiso otra vez.
Lo encontró Peyton Kennedy, investigador de Endor Labs, y quedó registrado como CVE-2026-136998. Docker lo corrigió en la versión 0.55.0. No hay ataques conocidos con esta técnica.
Dónde estaba el agujero
Desde la versión 0.43.0, de mediados de septiembre, aprobar la petición de credenciales de un kit escribe una vinculación que anota el servicio y los dominios que el desarrollador aceptó. Según el análisis de Kennedy, esa lista grabada nunca se volvía a leer: en cada petición el sistema solo comprobaba que existiera una vinculación para el nombre del servicio y el proxy enviaba la clave real a los dominios que nombrara la versión actual del kit.
«Los dominios que el operador aprobó no juegan ningún papel en esa decisión», escribió el investigador.
En su demostración, un kit aprobado solo para api.anthropic.com fue sustituido, en la misma referencia, por una versión que apuntaba a un servidor de prueba. La siguiente creación de un sandbox no mostró ningún aviso y el proxy entregó la clave falsa a ese servidor en claro. La aprobación sobrevivía incluso al borrado del sandbox, y el registro de políticas anotaba la conexión como permitida sin mencionar que se había inyectado una clave. Un kit malicioso también podía añadir su propio servidor a la lista de redes permitidas sin preguntar.
Alcance y qué hacer
El fallo afecta a todas las versiones anteriores a la 0.55.0 en macOS, Windows y Linux y toca trece integraciones, entre ellas Anthropic, OpenAI, GitHub y Google. Kennedy lo puntuó primero 9,3 crítico y lo corrigió a 8,2 alto al ajustar el vector a local: el kit malicioso es un archivo que el desarrollador descarga, no un servicio al que un atacante llega por la red. Con CVSS 4.0 queda en 6,9 y el fabricante lo valora en 5,6.
El daño sigue a la clave. Los secretos guardados con el comando de Docker son globales por defecto, así que la clave desviada es la que usan todos los sandboxes de la máquina. Un token de GitHub robado concede lo que permitan sus permisos, y en un token típico de desarrollador eso incluye escribir en sus repositorios. La investigación cubrió el producto local; los sandboxes en la nube usan otro almacén y no se estableció si compartían la lógica afectada.
La recomendación es actualizar y revisar el archivo de aprobaciones (en Windows, en la carpeta de datos del usuario) para retirar cualquier vinculación concedida a un kit de terceros mientras la versión era vulnerable.
Fuentes: The Hacker News, Endor Labs, Docker.
Docker Sandboxes exists so that an API key never enters the virtual machine where a coding agent runs. The developer stores the key on the host, the agent sends a placeholder header and a proxy swaps in the real key on the way out. A flaw in that mechanism let a third-party agent kit keep the key without asking again.
It was found by Peyton Kennedy, a researcher at Endor Labs, and tracked as CVE-2026-136998. Docker fixed it in version 0.55.0. No attacks using it have been reported.
Where the hole was
Since version 0.43.0 in mid-September, approving a kit's credential request writes a binding that records the service and the domains the developer agreed to. According to Kennedy's analysis, that recorded list was never read back: at request time the system only checked that a binding existed for the service name, and the proxy sent the real key to whatever domains the current version of the kit named.
"The domains the operator approved play no part in that decision," the researcher wrote.
In his demonstration, a kit approved only for api.anthropic.com was replaced at the same reference with a version pointing at a test server. The next sandbox creation showed no prompt and the proxy delivered the key in cleartext to that server. The approval even survived deleting the sandbox, and the policy log recorded the connection as allowed without saying a key had been injected into it. A malicious kit could also add its own server to the sandbox's network allowlist without a prompt.
Scope and what to do
The flaw affects every version before 0.55.0 on macOS, Windows and Linux and touches thirteen built-in integrations, including Anthropic, OpenAI, GitHub and Google. Kennedy first scored it 9.3 critical and corrected it to 8.2 high after changing the attack vector to local: the malicious kit is a file the developer fetches, not a service an attacker reaches over the network. Under CVSS 4.0 it is 6.9, and the vendor rates it 5.6.
The damage follows the key. Secrets stored with Docker's command are global by default, so a redirected key is the one every sandbox on the machine uses. A stolen GitHub token grants whatever its scopes allow, and for a typical developer token that includes write access to their repositories. The research covered the local product; cloud sandboxes use a separate secret store and it was not established whether they shared the affected logic.
The advice is to upgrade and review the approvals file, which on Windows sits in the user's application data folder, to remove any binding granted to a third-party kit while the version was vulnerable.
Fuentes: The Hacker News, Endor Labs, Docker.
Sigue leyendo
Keep reading
Un solo mensaje sin cuenta basta para tomar un foro vBulletin: el exploit ya es público
vBulletin2Shell (CVE-2026-137330) inyecta objetos PHP a través de una etiqueta BBCode y ejecuta comandos como el usuario del servidor web. Hay parche desde el 19 de noviembre, pero los foros autoalojados que no lo aplicaron siguen expuestos. No se reportan ataques.
One message and no account is enough to take over a vBulletin forum as public exploit lands
vBulletin2Shell (CVE-2026-137330) injects PHP objects through a BBCode tag and runs commands as the web server user. A patch has been out since November 19, but self-hosted forums that skipped it remain exposed. No attacks are reported.
La NSA pide acelerar el salto a la criptografía post-cuántica por hallazgos de la IA que no describe
La agencia ordena a los sistemas de seguridad nacional adelantar la migración a CNSA 2.0 y no identifica qué empresas ni qué algoritmos están afectados. Un comunicado conjunto con la ONCD y la CISA rebaja la alarma: no hay amenaza inmediata y generalizada.
NSA tells national security systems to speed up post-quantum migration over AI findings it won't describe
The agency orders national security systems to bring forward the move to CNSA 2.0 and names neither the companies nor the algorithms affected. A joint statement with ONCD and CISA lowers the alarm: there is no immediate, widespread threat.
Los hackers de LifeStance avisaron a 2,1 millones de pacientes por correo
El grupo Redwire dice haber robado datos de la plataforma de telepsiquiatría y escribió a los afectados desde cuentas de correo comprometidas. LifeStance confirma el acceso a través de un proveedor externo y asegura que no hay indicios de extracción.
LifeStance hackers emailed 2.1 million patients to announce the breach
The Redwire group says it stole data from the telepsychiatry platform and wrote to those affected from compromised email accounts. LifeStance confirms access through a third-party vendor and says there are no signs of extraction.


