BaselineWatch
Desk

CVE-2026-59158

7.5 high Deferred

Nuxt Ollama integrates the official Ollama JavaScript library into Nuxt applications. Prior to 1.3.1, `src/module.ts` unconditionally merges all module options, including a configured cloud `api_key`, into `runtimeConfig.public.ollama`. Nuxt serializes this public configuration into the server-rendered HTML `window.__NUXT__` payload, exposing the API key in plaintext to any unauthenticated client that fetches a page. `src/runtime/composables/useOllama.ts` also reads the public key and sends it as an `Authorization` `Bearer` credential in browser-side Ollama requests. Following the documented cloud configuration is sufficient; the visible application template need not make an Ollama request for the secret to leak. A stolen key permits unauthorized cloud API requests at the operator's expense, quota or rate-limit exhaustion, and access to stored models or conversations if the key grants those permissions. This issue is fixed in version 1.3.1.

Fix

Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.

Change history 4

  1. StatusPublished → DeferredNVD modified 2026-10-28 15:24
  2. StatusReceived → PublishedNVD modified 2026-10-27 22:36
  3. StatusPublished → ReceivedNVD modified 2026-10-27 23:17
  4. First seenCVSS 7.5 · thoda-devNVD modified 2026-10-27 22:36

Affected (CPE criteria) 0

NVD has not attached CPE configurations yet.

References 3