Technical impact
The vulnerability in the Nuxt Ollama module causes the cloud API key configured in the module options to be merged into the public runtime configuration. Nuxt serializes this public configuration into the HTML payload, exposing the key to any client that fetches a page. The exposed key can be used to send unauthorized requests to the Ollama cloud, potentially exhausting the operator’s quota, incurring costs, or accessing stored models and conversations that the key authorizes. The weakness is a classic case of Sensitive Data Exposure (CWE‑522).
Affected Systems
The issue affects installations of the Nuxt Ollama module by thoda-dev, specifically versions earlier than 1.3.1. Users running those releases should verify the module version and ensure that the secured configuration is not available in the production environment.
Risk and Exploitability
With a CVSS score of 7.5, the vulnerability is considered high. The exploitation surface is broad: any unauthenticated client can retrieve the HTML payload and read the plaintext key. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the public nature of the leak makes it highly probable that attackers could simply fetch a page and capture the key. Once obtained, the key enables direct use of the Ollama Cloud API in client‑side requests, potentially causing functional outages or financial impacts.
Github GHSA