CVE-2026-77776

Headroom's LLM proxy derives the memory owner from the x-headroom-user-id request header. The header is read directly at several points in headroom/proxy/handlers/openai.py, including the chat completion and websocket paths, and nothing binds the value to the caller. A client can therefore name another user's identifier and read or write that user's stored LLM memory. The fix introduces a single resolve_memory_identity seam in headroom/proxy/identity.py that honors the header only for loopback or allowlisted callers and otherwise binds the identity to the proxy-token fingerprint or the operating system user. The pip console script binds 127.0.0.1 by default, but the reference docker-compose.yml ships --host 0.0.0.0 with published ports and no required HEADROOM_PROXY_TOKEN, which the server itself warns about at startup, so a deployment following the shipped compose exposes the affected data-plane routes to the network without authentication.
Configurations

No configuration.

History

15 Oct 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) El proxy LLM de Headroom deriva el propietario de la memoria del encabezado de solicitud x-headroom-user-id. El encabezado se lee directamente en varios puntos en headroom/proxy/handlers/openai.py, incluyendo las rutas de completado de chat y websocket, y nada vincula el valor al llamador. Un cliente puede, por lo tanto, nombrar el identificador de otro usuario y leer o escribir la memoria LLM almacenada de ese usuario. La solución introduce una única costura resolve_memory_identity en headroom/proxy/identity.py que respeta el encabezado solo para llamadores de loopback o en lista blanca y de lo contrario vincula la identidad a la huella digital del token de proxy o al usuario del sistema operativo. El script de consola pip enlaza 127.0.0.1 por defecto, pero el docker-compose.yml de referencia se envía con --host 0.0.0.0 con puertos publicados y sin HEADROOM_PROXY_TOKEN requerido, sobre lo cual el propio servidor advierte al inicio, por lo que un despliegue siguiendo el compose enviado expone las rutas del plano de datos afectadas a la red sin autenticación.

Information

Published : 2026-08-21 12:16

Updated : 2026-10-15 19:10


NVD link : CVE-2026-77776

Mitre link : CVE-2026-77776

CVE.ORG link : CVE-2026-77776


JSON object : View

Products Affected

No product.

CWE
CWE-639

Authorization Bypass Through User-Controlled Key