| Titolo | nanocoai NanoClaw 2026.10.0 Improper Access Controls |
|---|
| Descrizione | NanoClaw up to 2026.10.0 (main 2026.10.1-rc.2 also affected) uses an egress lockdown as the network boundary that forces agent traffic through the credential gateway. The flag is read from .env, but readEnvFile() catches every read error, including "file exists but unreadable", and returns an empty object. EGRESS_LOCKDOWN becomes false, ensureEgressNetwork() returns false before its fail-fast checks, and the driver spawns the agent with host-gateway instead of the internal egress network.
The network boundary is actually lost: in a real Docker run the same image could not reach example.com on the internal network (control) but returned 200 once .env was unreadable (fault). The agent can reach arbitrary internet hosts, bypass the gateway's credential injection, approval flow and audit trail, and exfiltrate mounted workspace files and conversation state to an attacker-controlled host. The host-gateway mapping also exposes host services the internal network was meant to hide, so the blast radius expands beyond the container; the container stays on the open path until restarted.
The trigger is an existing .env that becomes unreadable: root-owned 600 while the service runs non-root, ACL/SELinux restriction, replaced by a directory, or a disconnected network share. A missing .env is the documented first-run default and is not the issue. |
|---|
| Fonte | ⚠️ https://github.com/nanocoai/nanoclaw/pull/4314 |
|---|
| Utente | EM123 (UID 102854) |
|---|
| Sottomissione | 09/11/2026 12:39 (21 giorni fa) |
|---|
| Moderazione | 30/11/2026 17:03 (21 days later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 445861 [nanocoai NanoClaw fino a 2026.11.0 Lockdown src/env.ts readEnvFile escalationi di privilegi] |
|---|
| Punti | 20 |
|---|