CVE-2026-59158
Published:September 10, 2026
Updated:September 10, 2026
"nuxt-ollama@1.2.26" unconditionally merges all module options — including "api_key" — into Nuxt's public runtime config ("runtimeConfig.public.ollama"). Nuxt serializes "runtimeConfig.public" into the SSR HTML response inside a "<script>" payload block ("window.__NUXT__"), making the API key visible in plaintext to any unauthenticated HTTP client that fetches the page. An attacker with no credentials can steal the Ollama cloud API key with a single HTTP GET request, then use it to make arbitrary requests to the Ollama API at the operator's expense.
Affected Packages
https://github.com/thoda-dev/nuxt-ollama.git (GITHUB):
Affected version(s) >=v1.2.2 <v1.3.1Fix Suggestion:
Update to version v1.3.1nuxt-ollama (NPM):
Affected version(s) >=1.2.2 <1.3.1Fix Suggestion:
Update to version 1.3.1nuxt-ollama (NPM):
Affected version(s) =1.2.26 <1.3.1Fix Suggestion:
Update to version 1.3.1Related Resources (2)
Do you need more information?
Contact UsCVSS 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