Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-59158
Published:October 27, 2026
Updated:November 04, 2026
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
https://github.com/thoda-dev/nuxt-ollama.git (GITHUB):
Affected version(s) >=v1.2.2 <v1.3.1
Fix Suggestion:
Update to version v1.3.1
nuxt-ollama (NPM):
Affected version(s) >=1.2.2 <1.3.1
Fix Suggestion:
Update to version 1.3.1
nuxt-ollama (NPM):
Affected version(s) =1.2.26 <1.3.1
Fix Suggestion:
Update to version 1.3.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Insufficiently Protected Credentials
EPSS
Base Score:
0.50