A single website can hijack your local AI agent. You set up that local model to keep your data private, but right now, it's vulnerable. A simple advertising script could take over your entire computer. This threat is known as the NemoClaw vulnerability, tracked as CVE-2026-65105. It turns out that keeping things local only works if your web browser actually respects the definition of local.
Here's how it happens. Most users run local model servers like Ollama on default ports. They assume that binding to localhost keeps them safe from the outside world. But attackers found a way around this. They use a DNS rebinding attack. An external website tricks your browser into believing its domain points directly to your local machine. Once the browser is fooled, it bypasses cross-origin resource sharing restrictions. It sends requests straight to your local server, which can lead to full remote code execution.
You need to understand three key things about this threat.
First, the mechanism of DNS rebinding. Imagine ordering a package to your home. But mid-transit, someone swaps the address label, and the delivery driver takes it to a bank vault instead. By dynamically changing DNS resolution from a remote server to localhost, a malicious website can command your local AI server to download external files or run system commands.
Second, the vulnerability flow. Once an attacker gets access to the local API, they can exploit features like model loading or custom tool calls. If your local agent has permission to read files or execute terminal commands, the attacker gains those exact capabilities. Your assistant could be downloading malware in the background while you're simply browsing a recipe website. By the way, if you find a good sourdough recipe, let me know.
Third, the immediate fix. Securing your server is straightforward. Start by updating your software immediately to apply the necessary patches. Next, check your environment variables to restrict access. Don't bind the server to all network interfaces unless you have a firewall actively blocking external traffic. If you do need remote access, route it through a secure reverse proxy with proper authentication, like token verification or basic auth, instead of leaving it exposed.
Check your configurations today before another browser tab attempts to access your files. If you want to keep your self-hosted AI secure, make sure to follow security best practices. Stay safe and review your local network setup.