{"slug": "ai-browser-takeover-hijacking-other-customers-sessions", "title": "AI Browser Takeover: Hijacking other customers' sessions", "summary": "A security researcher found that any KERNEL customer could gain root access to other customers' hosted AI-agent browsers using only their own session token, and KERNEL patched the flaw on October 30, 2026, after confirming it on October 29, 2026. The bug stemmed from KERNEL's per-host gateways accepting a fleet-wide JWT without checking its signed metro field against the host receiving the request, so a token from a session on prod-iad-hypeman-18 could be replayed against prod-iad-hypeman-43 and reach whichever VM shared the same private address, such as 172.30.45.35. Because KERNEL's management agent runs with root privileges inside each Firecracker microVM, the researcher reached root in several other customers' VMs within minutes, exposing browser profiles, cookies and logged-in sessions.", "body_md": "KERNEL hosts browsers for AI agents. We discovered that any customer could get root access to other customers’ browsers, using nothing but their own session token. That lets one KERNEL customer steal whatever sat in another customer’s browser: data, cookies, saved logins and every website it was signed into.\n\nWe reported the issue to KERNEL, and they patched it.\n\n## How the session works\n\nKERNEL runs its customers’ browsers in Firecracker microVMs, on a fleet of more than a hundred host machines. Each VM is given an address on its host machine’s private network.\n\nEvery host is a server with its own public hostname:\n\nprod-iad-hypeman-18.kernel.sh,\n\nprod-iad-hypeman-43.kernel.sh\n\nand so on. On each one sits a gateway: an HTTPS endpoint on port 8443 that is the only way in to the browsers on that host.\n\nThe attacker starts out like any other customer, by requesting a new browser through KERNEL’s API. The API allocates the browser to a host machine and responds with a session URL. The hostname of the URL is the host where the session ended up, and its ?jwt= parameter contains the session token, which is valid for one year.\n\nOne of our sessions ended up on prod-iad-hypeman-18.kernel.sh, in a VM at 172.30.45.35.\n\nThe token is a JWT. Decoded, the payload of that session’s token looks like this, trimmed to the fields that matter:\n\nid is the session, metro is the host the session was placed on, and privateIP is the address of its VM on that host’s private network. The fields we left out identify the customer (orgId, userId) and the VM instance.\n\nThe attacker connects to that host using the URL and presents the token. The gateway on the host looks up the private address of the session’s VM and connects the attacker to it.\n\n## The missing check\n\nThe token works on every host. The whole fleet shares one signing key and one set of session records, so the gateway on any host accepts the token and finds the session’s private address.\n\nEvery host numbers its VMs from the same private range. Our VM was 172.30.45.35 on prod-iad-hypeman-18. There was a 172.30.45.35 on prod-iad-hypeman-43 too, and it belonged to another customer.\n\nWith a setup like that, the gateway has to check that the session it is asked for lives on the host that received the request. The token itself names that host: its signed metro field said prod-iad-hypeman-18. KERNEL’s gateway verified the signature and never compared that field with the host it was running on.\n\nFinding the other hosts was easy. They are all public and their names are numbered, so knowing the name of one host gives you the names of the rest.\n\nSo we took the token from our session on host 18 and sent it to host 43:\n\n```\nPOST https://prod-iad-hypeman-43.kernel.sh:8443/browser/kernel/process/exec?jwt=<our session token>\n```\n\nThe gateway on prod-iad-hypeman-43 accepted the token, looked up our address, dialed it on its own network, and connected us to another customer’s VM.\n\nKERNEL’s management agent runs inside every VM. It executes commands with root privileges and trusts whatever comes through the gateway. process/exec is one of its routes, so reaching a VM means root in that VM.\n\nFrom there we built a simple attack: create a batch of sessions, then try each session’s token against every other host. Whenever the session’s address was in use on that host, one request made us root in somebody else’s VM. Within minutes we were inside several other customers’ VMs.\n\nIf your agents ran on KERNEL, another customer could have done the same to your VM. A hosted browser can hold sessions that are already logged in. With root access, an attacker can download the entire browser profile with one API call or control the tabs that are already open through DevTools.\n\n## Disclosure timeline\n\n| When | What | \n|---|---|\n| October 24, 2026 | Reported through KERNEL’s bug bounty program | \n| October 29, 2026 | KERNEL confirms the issue | \n| October 30, 2026 | KERNEL remediates the vulnerability | \n\n## From agent sandboxes to agent browsers\n\nWe have spent the months since July breaking out of the sandboxes AI agents run in: Claude Cowork, Claude Code, Cursor CLI, OpenAI Codex, Docker’s hypervisor and Cloudflare’s sandbox. Each of them was built around the same worry: what the agent’s code can reach on the machine it runs on.\n\nSomewhere along the way we noticed how little of an agent’s work happens on that machine. The agent opens a browser, signs in and acts as its user. That browser is increasingly a hosted one, running on someone else’s fleet beside other customers’ browsers, and the logged-in sessions a sandbox is there to protect are sitting in it. So we followed the agent there.\n\nOn KERNEL, the hard part of the isolation held. Firecracker did its job. The bug was one layer up, in a gateway that had the right host name inside the token it had just verified and never compared it with its own.\n\nHosted browsers for agents are a young category, and they already hold the most valuable thing an agent has, its user’s logged-in sessions. We think they deserve the same scrutiny the sandboxes have been getting, and that is where we are looking now.", "url": "https://wpnews.pro/news/ai-browser-takeover-hijacking-other-customers-sessions", "canonical_source": "https://accomplish.ai/blog/ai-browser-takeover/", "published_at": "2026-11-18 00:00:00+00:00", "updated_at": "2026-11-22 09:41:32.199645+00:00", "lang": "en", "topics": ["ai-agents", "ai-safety", "ai-infrastructure"], "entities": ["KERNEL", "Firecracker"], "also_reported_by": [], "takeaway": "A fleet-wide session JWT whose signed metro field is never compared against the receiving host lets a token from one host reach another customer's VM at the same private address, so gateways must bind tokens to their host and management agents must not trust gateway traffic as root.", "recommendation": {"advice": "Bind agent-sandbox session tokens to a specific host and verify that claim at every gateway, and drop root privileges in in-VM management agents so a replayed token cannot reach another customer's VM.", "playbook": "agent-security", "playbook_url": "https://wpnews.pro/playbooks/agent-security"}, "alternates": {"html": "https://wpnews.pro/news/ai-browser-takeover-hijacking-other-customers-sessions", "markdown": "https://wpnews.pro/news/ai-browser-takeover-hijacking-other-customers-sessions.md", "text": "https://wpnews.pro/news/ai-browser-takeover-hijacking-other-customers-sessions.txt", "jsonld": "https://wpnews.pro/news/ai-browser-takeover-hijacking-other-customers-sessions.jsonld"}}