Brief · Both
More than half of the exposed Ollama servers Rapid7 found already have someone else's models on them
On Nov 18, Rapid7 published a snapshot of self-hosted AI servers on the internet, and the headline number isn't about risk, it's about guests. Of the 7,675 Ollama servers it found answering without authentication, 54.8% had models in their lists that the owner almost certainly didn't put there: "I was here" markers, pulls from raw IP addresses and free tunnels, and names stamped with the server's own IP. Rapid7's Christiaan Beek calls the model list "something close to a visitors' log," and that's a fair description of what an open /api/tags endpoint returns.
The scan is a sample, not a census. Rapid7 took one snapshot on Nov 10 of 20,354 pre-selected IPv4 addresses, sent one read-only request per service, and didn't run inference, write anything or try any exploits. It also did something I'd like to see more often and threw out its own scariest number. The raw scanner flagged 387 "critical" findings, but 429 addresses looked like honeypots and other sensors, and with those removed the count drops to 39. As Beek puts it, "Honeypots look extremely vulnerable. That's the whole job description."
Rapid7 sells security products, including exposure management, which is one of the controls its post recommends.
What strangers left behind
Ollama's API lets any caller pull models from any registry and copy or create them, so on a server with no login, the model list records what other people asked it to do. Rapid7 counted marker models such as zzvitals-beacon, verif_sys and ops-verify on 40.3% of exposed servers, and 712 model names that embed the IP of the server they sit on, which Rapid7 reads as someone tagging targets for later. About 24% of servers listed models pulled from a raw IP and port, and 22% from free tunnels or throwaway registries like Cloudflare quick tunnels and ttl.sh. When a server pulls from an address an attacker controls, it calls them back, which confirms it's reachable, writable and able to make outbound connections.
On 55 servers, model names decoded to file paths, including /etc/shadow, /proc/self/environ, Ollama's systemd override file where people tend to keep API keys, SSH authorized_keys, and on 10 servers the Ollama private key itself. Rapid7 says this mirrors Probllama (CVE-2024-37032), a path-traversal bug Ollama fixed in version 0.1.34 in May 2024, and it's careful to say it can't tell whether any of those targets were still vulnerable, so "the attempt proves intent, not success." Some markers dated from June were still there on Nov 10, which says something about how often anyone looks.
There's a billing angle too. 79% of exposed servers list at least one :cloud model, and Ollama routes those requests to ollama.com when the machine has been signed in with ollama signin. Rapid7's interpretation is that an exposed, signed-in server can hand strangers someone's paid subscription with the bill landing on the owner. It labels the next step a hypothesis, since a listed cloud tag doesn't prove the box is signed in and Rapid7 didn't test inference. Rapid7 also says about 65% of these hosts sit in hosting and cloud networks, with OVHcloud, Hetzner, Contabo, Oracle Cloud, Tencent Cloud and DigitalOcean making up 42% of everything it found.
What to do:
-
Find out whether your Ollama answers from the internet.
- Why: Rapid7 says Ollama has no built-in authentication, so reachable means usable, and 6% of its findings sat on non-standard ports.
- How: Follow the listener and outside-in checks in our guide to checking an exposed Ollama, and cover every VPS and cloud account your team pays for, including the ones Rapid7 points out get rented on personal cards and expensed.
-
Read the model list for guests.
- Why: A read-only
/api/tagscall shows what strangers pulled, copied or created on your server. - How: On the server, run
curl http://localhost:11434/api/tagsand look for what Rapid7 calls a stranger's artifact: names prefixed with an IP address, a tunnel domain or ttl.sh, names containing beacon, verify, probe or pwn, and anything containing your own IP. Rapid7 notes that a clean list doesn't prove a clean host, because names can be deleted.
- Why: A read-only
-
If you find one, treat the server as compromised.
- Why: Rapid7 says to treat it as compromised, not misconfigured, since the same access that created a marker could have read files or used the box's cloud sign-in.
- How: Per Rapid7, rotate whatever lives in the server's environment and service files, revoke the Ollama key on the linked ollama.com account, check cloud usage for spend you don't recognise, and rebuild rather than clean.
-
Close the port and limit what the server can reach.
- Why: Every artifact in the study needed an open API, and the callback trick needs the server to make outbound connections.
- How: Bind Ollama to localhost or a private network, and if you need remote access, put an authenticating reverse proxy or a zero-trust access layer in front, as Rapid7 recommends. Restrict outbound traffic from model servers to the registries you've approved, and alert on pull, create, copy, push and delete calls, which Rapid7 says should be rare on a stable server.
-
Don't leave a shared server signed in to a cloud model account.
- Why: Signed-in servers route
:cloudmodels through the owner's ollama.com account, and Rapid7 says not to sign a shared server in unless it's behind authentication and spend alerts. - How: Run
ollama signouton any server that doesn't need cloud models (Ollama CLI docs), and set spend alerts on the account for the ones that do.
- Why: Signed-in servers route
-
Keep Ollama current.
- Why: Someone is still sending Probllama-style payloads two and a half years after the fix, by Rapid7's count.
- How: Run
ollama --versionand update to a current release, which puts you well past the 0.1.34 fix.
Want the next one?
One email, weekly-ish. The week's briefs, how worried to be, and what to do about it. No doom.
Subscribe on Beehiiv ↗Free. Opens Beehiiv in a new tab. Unsubscribe whenever, I won't be offended.