CVE-2026-59158
Last modified
CVE-2026-59158 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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`. EPSS estimates a 0.50% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| thoda-dev | nuxt-ollama | < 1.3.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-59158?
How severe is CVE-2026-59158?
How do I fix CVE-2026-59158?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59152LangSmith Client SDKs provide SDK's for interacting with the…5
- CVE-2026-59153Anki is a program for creating and reviewing flashcards. Pri…2.1
- CVE-2026-59154Wekan is open source kanban built with Meteor. Prior to 9.64…4.3
- CVE-2026-59155Nezha Monitoring is a self-hostable, lightweight, servers an…6.9
- CVE-2026-59156OpenImageIO is a toolset for reading, writing, and manipulat…6.5
- CVE-2026-59157webhookd is a minimalist webhook server that triggers shell …6.5
- CVE-2026-59160Yeger is a monorepo for npm packages maintained under the ye…8.8
- CVE-2026-59161Excelize is a Go language library for reading and writing Mi…7.5
- CVE-2026-59162Excelize is a Go language library for reading and writing Mi…7.5
- CVE-2026-59163Mnemosyne is a memory layer for artificial intelligence agen…9.1
- CVE-2026-59164NORA is a self-hosted artifact registry and pull-through cac…7.1
- CVE-2026-59167SunEditor is a lightweight and powerful WYSIWYG editor in va…10
Are you affected by CVE-2026-59158?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
