Skip to navigation

Threat reportVulnerabilityTL-2026-4428

NVIDIA NemoClaw Chat Template Poisoning via Exposed Ollama API and DNS Rebinding (CVE-2026-65105)

highACTIVE

NVIDIA NemoClaw launches its Ollama inference backend with OLLAMA_HOST=0.0.0.0:11434, exposing an unauthenticated API and disabling Ollama's Host-header validation. A malicious webpage can use DNS rebinding to reach the API, rewrite a model's chat template via /api/create, and persistently inject hidden instructions into every inference call. First disclosed .

Key facts

IdentifiersTL-2026-4428, CVE-2026-65105
Also known asNemoClaw Drive-By Model Poisoning, NemoClaw Chat Template Poisoning
SeverityHIGH
CVSS8.1 (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H)
First disclosed
EPSSCVE-2026-65105: 0.4% (39.9th percentile)
Affected productsNVIDIA NemoClaw (Linux, with Ollama inference backend); Ollama Ollama server bound to non-loopback interface by NemoClaw (Host-header validation skipped)
Weaknesses (CWE)CWE-306
ToolsNemoClaw, Ollama, OpenClaw
MITRE ATT&CK / ATLAS techniquesAML.T0051 LLM Prompt Injection, T1005 Data from Local System, T1082 System Information Discovery, T1190 Exploit Public-Facing Application, T1485 Data Destruction, T1496 Resource Hijacking, T1565 Data Manipulation
MotivationUNKNOWN
Target sectorstechnology, software-development, ai-ml
Target regionsGlobal
Detection rules9 (1 shown free)
Sources9 cited sources

Detection coverage

As of 2026-10-26, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4428 across Splunk SPL, Microsoft KQL and Sigma, covering 13 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: NemoClaw/Ollama API Reconnaissance Followed by Chat Template Overwrite (CVE-2026-65105)

Detects the CVE-2026-65105 poisoning sequence in Ollama server access logs: a single client enumerating models (/api/tags), reading the model template (/api/show) and writing it back with POST /api/create inside a 10-minute window. In the DNS-rebinding chain the requests arrive from the victim browser via loopback, so the client IP is typically 127.0.0.1 and no Origin/Host data is logged; the sequence itself is the signal. A rewritten chat template persistently injects hidden instructions into every inference call of NemoClaw/OpenClaw agents.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1082, T1005, T1565.001
  • Data sources: ollama_server_logs, ollama:server
  • Severity: high
  • Confidence: high

Splunk SPL

index=ollama sourcetype="ollama:server" earliest=-24h ("/api/tags" OR "/api/show" OR "/api/create")
| rex field=_raw "\|\s*(?<status>\d{3})\s*\|[^|]*\|\s*(?<client_ip>[0-9a-fA-F:.]+)\s*\|\s*(?<method>[A-Z]+)\s+\x22(?<uri_path>/[^\x22?]+)"
```Ollama GIN log line: status, latency, client ip, method and quoted request path```
| where uri_path IN ("/api/tags","/api/show","/api/create") AND status<400
| bin _time span=10m
| stats count values(uri_path) as api_paths dc(uri_path) as stage_count count(eval(uri_path="/api/create" AND method="POST")) as create_posts by host client_ip _time
| where create_posts>=1 AND stage_count>=2
| table _time host client_ip api_paths create_posts count

Microsoft KQL

Syslog
| where TimeGenerated > ago(24h)
| where ProcessName =~ "ollama" and SyslogMessage has "[GIN]"
| extend Path = extract(@"\x22(/api/[a-z/]+)\x22", 1, SyslogMessage)
| extend Method = extract(@"\|\s*([A-Z]+)\s+\x22/api", 1, SyslogMessage)
| extend ClientIP = extract(@"\|\s*([0-9a-fA-F:.]+)\s*\|\s*[A-Z]+\s+\x22/api", 1, SyslogMessage)
| where Path in ("/api/tags", "/api/show", "/api/create")
| summarize ApiPaths = make_set(Path), StageCount = dcount(Path), CreatePosts = countif(Path == "/api/create" and Method == "POST"), Events = count() by Computer, ClientIP, Window = bin(TimeGenerated, 10m)
| where CreatePosts >= 1 and StageCount >= 2
| project Window, Computer, ClientIP, ApiPaths, CreatePosts, Events

Sigma

title: Ollama Model Template Overwrite via /api/create (NemoClaw CVE-2026-65105)
id: 7c1d4a52-8e3b-4f6a-9b0d-2a5e61c3f8d1
status: experimental
description: Detects POST /api/create against an Ollama server, the call used in CVE-2026-65105 to overwrite a model chat template (persistent prompt injection). Pair with /api/tags and /api/show requests from the same client in the preceding minutes (recon-to-poison sequence).
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2026-65105
    - https://www.cyera.com/research/nemoclaw-one-website-visit-to-hijack-your-ai-agent
    - https://labs.cloudsecurityalliance.org/research/csa-research-note-nemoclaw-dns-rebinding-model-poisoning-202/
author: Threadlinqs Team
date: 2026-10-26
tags:
    - attack.initial_access
    - attack.t1190
    - attack.impact
    - attack.t1565.001
    - cve.2026.65105
logsource:
    product: ollama
    service: server
detection:
    selection:
        cs-method: 'POST'
        cs-uri-stem: '/api/create'
        sc-status|startswith: '2'
    condition: selection
falsepositives:
    - Administrators or CI jobs legitimately building models from a Modelfile
    - Model customisation by developers using ollama create
level: high

Known false positives:

  • Administrators or CI/CD jobs building custom models with ollama create or POST /api/create
  • Developers iterating on a Modelfile who list models (/api/tags) and inspect them (/api/show) before creating a new one

Tuning notes: Allowlist known admin/CI client IPs and change windows via a lookup. Ship Ollama stdout/journald to the ollama index with sourcetype ollama:server. Raise the stage_count threshold to 3 to require tags+show+create. Consider alerting on any /api/create where client_ip is loopback and a browser process is active on the host.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • Ollama Server Bound to All Interfaces on TCP 11434 (NemoClaw Vulnerable Configuration) · unlock with TL Creds
  • DNS Rebinding to Loopback Followed by Ollama /api/create on the Same Host · unlock with TL Creds
  • Remote Host Connecting to Ollama TCP 11434 on a Local Segment · unlock with TL Creds
  • Ollama API Request on TCP 11434 with Non-Local Host Header (DNS Rebinding) · unlock with TL Creds
  • Ollama Model Manifest Modified by a Non-Ollama Process · unlock with TL Creds
  • Web Browser Process Connecting to Local Ollama Port 11434 · unlock with TL Creds
  • Ollama /api/delete and Bulk /api/pull Calls (Model Deletion and Disk Exhaustion) · unlock with TL Creds
  • External Hostname Resolving to Loopback (DNS Rebinding Against Local Ollama) · unlock with TL Creds

Indicators of compromise

As of 2026-10-26, Threadlinqs Intelligence tracks 13 indicators of compromise for TL-2026-4428.

13 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Disclosed by Oasis Security on 2026-08-25; no in-the-wild exploitation was reported at disclosure.

CVE-2026-65105 (CWE-306, Missing Authentication for Critical Function) affects NVIDIA NemoClaw, an agent toolkit that runs a local Ollama model server for OpenClaw-style agents. To let containers reach the host-side inference service, NemoClaw starts Ollama with OLLAMA_HOST=0.0.0.0:11434, binding the API to every interface instead of loopback. Ollama's API performs no authentication, and for non-loopback bindings Ollama skips its Host-header validation, the check designed to stop browsers from reaching local services. Only CORS handling remains, and DNS rebinding defeats it because Origin and Host then match.

Exploit chain (per Oasis Security, as reported by NSFOCUS, CSA, Cyera, CSO Online and The Hacker News): (1) the victim visits an attacker-controlled or compromised webpage; (2) the attacker's domain first resolves to the attacker's server (short TTL), then re-resolves to 127.0.0.1, so browser JavaScript treats requests to port 11434 as same-origin; (3) the script enumerates the instance (GET /api/tags, GET /api/show) and retrieves the model's Go chat template; (4) it builds a tampered Go template that appends attacker-controlled hidden instructions to every system message and writes it back with POST /api/create. Because the template is a model-level property, it is invisible to API consumers, survives client-supplied system prompts, session resets and restarts, and leaves no anomaly in conversation logs. The agent cannot override it, so the agent's tool-calling capabilities effectively become attacker-steerable.

Other capabilities demonstrated or listed: enumerating installed models and the Ollama version, extracting model details and system prompts, deleting models (DELETE /api/delete), arbitrary inference (/api/generate, /api/chat), and pulling large models to exhaust disk (/api/pull). NVD describes the impact as unauthorized information access and service disruption. The technique builds on the older Ollama DNS-rebinding issue CVE-2024-28224 (fixed in Ollama v0.1.29, March 2024); NemoClaw's non-loopback bind re-opens that exposure. Similar poisoned chat-template techniques have been documented against other agents (Paperclip, OpenClaw).

Version and patch information in the sources is inconsistent. NVD and eSecurityPlanet list NemoClaw for Linux versions 0 through 0.0.25 as affected (fixed commit f06796ff3, with version 0.0.25 appearing on both sides). CSA and The Hacker News report v0.0.35 as the practical fix for macOS and Linux, and v0.0.106 (reported as 2026-08-10) as adding an enforced bind-address probe that refuses non-loopback backends. Windows/WSL paths were not structurally fixed at disclosure: v0.0.34 added only an installer warning. Defenders should test actual network reachability of port 11434 rather than trust version strings. Not reported: public PoC release, in-the-wild exploitation, attacker infrastructure or malware IOCs.

MITRE ATT&CK / ATLAS techniques by tactic:

Execution

AML.T0051 LLM Prompt Injection

Collection

T1005 Data from Local System

Discovery

T1082 System Information Discovery

Initial Access

T1190 Exploit Public-Facing Application

Impact

T1485 Data Destruction; T1496 Resource Hijacking; T1565 Data Manipulation

Remediation

Patches

  • Update NVIDIA NemoClaw to a fixed release per the NVIDIA security bulletin (NVD lists Linux 0 through 0.0.25 as affected, fix commit f06796ff3; CSA and The Hacker News report v0.0.35 as the macOS/Linux fix and v0.0.106 as enforcing a loopback-only bind-address probe)
  • Prefer v0.0.106 or later, which refuses non-loopback backends

Immediate actions

  • Verify Ollama is bound to 127.0.0.1 only, not 0.0.0.0:11434; test actual network reachability rather than trusting version strings (on Linux, walk /proc/net/tcp and /proc/net/tcp6 for listeners on 11434)
  • Rebuild any Ollama model whose chat template cannot be verified, from a trusted source
  • Block browser and non-local traffic to local inference port 11434 with host firewall rules
  • Audit Ollama API logs for unexpected /api/create and /api/pull calls and for template modifications

Workarounds

  • Windows/WSL: no structural fix at disclosure (v0.0.34 only warns); manually force OLLAMA_HOST=127.0.0.1:11434 and firewall the port
  • Avoid browsing untrusted sites on hosts running an exposed NemoClaw/Ollama backend

Longer-term hardening

  • Baseline model configurations and chat templates and alert on drift
  • Place an authenticated proxy in front of inference APIs; validate Host and Origin headers server-side and restrict authorized Host values
  • Apply least privilege to AI agent tool access so a poisoned model has limited reach
  • Monitor sensitive Ollama API activity (create, delete, pull) as part of AI-infrastructure logging

Affected and fixed versions

  • NVIDIA — NemoClaw (Linux, with Ollama inference backend)
    Vulnerable versions: 0 through 0.0.25 (NVD); Windows/WSL path remained exposed through v0.0.34 at disclosure
    Fixed in: Commit f06796ff3 (NVD); v0.0.35 (macOS/Linux practical fix per CSA/The Hacker News); v0.0.106 (enforced loopback bind-address probe)
  • Ollama — Ollama server bound to non-loopback interface by NemoClaw (Host-header validation skipped)
    Vulnerable versions: Instances started with OLLAMA_HOST=0.0.0.0:11434
    Fixed in: Bind to 127.0.0.1

Timeline

  • Ollama fixes DNS-rebinding issue CVE-2024-28224 in v0.1.29 (March 2024); NemoClaw's non-loopback bind later re-exposes the same class of attack
  • NVIDIA NemoClaw introduced (March 2026 per CSA)
  • Cyera acquires Oasis Security (July 2026 per CSA), the discoverer of the flaw
  • NemoClaw v0.0.106 reported (per CSA) as enforcing a bind-address probe that refuses non-loopback backends on Linux/macOS
  • CVE-2026-65105 published in NVD (CVSS 8.1, CWE-306) as part of an NVIDIA security bulletin covering 19 CVEs; fix commit f06796ff3 listed
  • Oasis Security publicly discloses chat template poisoning via DNS rebinding after reporting to NVIDIA PSIRT; no known exploitation at disclosure
  • Cloud Security Alliance publishes research note with detection guidance; reports v0.0.35 as macOS/Linux fix and Windows/WSL (v0.0.34) warning-only
  • NSFOCUS publishes AI security incident case analysis of the NemoClaw chat template poisoning vulnerability

Sources cited

Other reports on CVE-2026-65105

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 9 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats