CVE-2026-59158: Nuxt Ollama · Public Runtime Config Exposes Ollama API Key to Browser Clients
Affects nuxt-ollamaSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 1.3.1 soon.
Data as of 1 Dec 2026, 18:33 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 1.3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade nuxt-ollama to 1.3.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmnuxt-ollama | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in nuxt-ollama version 1.3.1 that fixes this vulnerability by moving the api_key from the public runtime config to the private runtime config and removing it from the browser composable. Operators should upgrade to version 1.3.1 or later. The recommended remediation is to separate the api_key from public runtimeConfig and only access it server-side, preventing exposure in client-side HTML. No additional mitigation is required once patched.
Description
Nuxt Ollama versions 1.2.26 up to but not including 1.3.1 contain a vulnerability where the Ollama API key is mistakenly exposed in the public runtime configuration. This key is serialized into the server-side rendered HTML and thus visible in plaintext to any unauthenticated client. An attacker can steal the API key with a single HTTP GET request and use it to make unauthorized API calls at the operator's expense. The issue is due to a design flaw merging all module options, including the secret api_key, into the public runtime config. A fix is available in version 1.3.1 that moves the api_key to the private runtime config, preventing exposure in the browser.
References
- github.com/thoda-dev/nuxt-ollama/security/advisories/GHSA-fxg7-897c-57mp (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-59158 (opens in a new tab)
- github.com/thoda-dev/nuxt-ollama/commit/156e813783ef322ee10dbbdd6bf446a449e1a04f (opens in a new tab)
- github.com/thoda-dev/nuxt-ollama (opens in a new tab)
- github.com/thoda-dev/nuxt-ollama/releases/tag/v1.3.1 (opens in a new tab)