CVE-2026-59158
High · 7.5CVSS
7.5
EPSS
0.5%
Published
Oct 27, 2026
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-116252 pgAdmin 4's materialized view refresh passed the target database's name to psql's… CWE-522
- CVE-2026-116245 libpq looks a connection service up in the service file of the operating-system account… CWE-522
- CVE-2026-116247 When a server in pgAdmin 4 had no password file, client certificate or client key… CWE-522
- CVE-2026-116244 When a pgAdmin 4 connection was not meant to use a Kerberos user's delegated credentials… CWE-522
- CVE-2026-116242 pgAdmin 4 opens SSH tunnels with the sshtunnel library but gave it neither… CWE-522
- CVE-2026-61730 SOCFortress CoPilot focuses on providing a single pane of glass for all your security… CWE-522
- CVE-2026-111502 Dell OpenManage Enterprise, versions prior to 4.8.0, contains an Insufficiently Protected… CWE-522
- CVE-2026-119566 Prometheus through 3.15.1 contains a credential leak vulnerability that allows attackers… CWE-522