Home / thoda-dev / nuxt-ollama / CVE-2026-59158
CVE-2026-59158: is it exploited, and which versions of thoda-dev nuxt-ollama are affected and fixed?
CVE-2026-59158 is a credentials insufficiently protected vulnerability in thoda-dev nuxt-ollama. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: nuxt-ollama from 1.2.26 before 1.3.1 (GitHub advisory GHSA-fxg7-897c-57mp). Fixed in 1.3.1 (GitHub advisory GHSA-fxg7-897c-57mp). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-59158?
Nuxt Ollama: public runtime configuration discloses the configured cloud API key
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.
From the CVE record by GitHub_M, last updated October 29, 2026, 18:23 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| thoda-dev | nuxt-ollama | < 1.3.1 |
As the CVE record by GitHub_M states it, last updated October 29, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | nuxt-ollama | >= 1.2.26, < 1.3.1 | 1.3.1 | GHSA-fxg7-897c-57mp |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 1, 2026. Summary: Nuxt Ollama: Public Runtime Config Exposes Ollama API Key to Browser Clients.
How severe is CVE-2026-59158?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-59158 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, October 29, 2026)
- EPSS
- 0.60% probability of exploitation activity in the next 30 days, percentile 50.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-522 Insufficiently Protected Credentials
Where are the vendor advisories and references?
- https://github.com/thoda-dev/nuxt-ollama/security/advisories/GHSA-fxg7-897c-57mp x_refsource_CONFIRM
- https://github.com/thoda-dev/nuxt-ollama/commit/156e813783ef322ee10dbbdd6bf446a449e1a04f x_refsource_MISC
- https://github.com/thoda-dev/nuxt-ollama/releases/tag/v1.3.1 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- July 2, 2026
- Published
- October 27, 2026, 22:36 UTC
- CVE record updated
- October 29, 2026, 18:23 UTC by GitHub_M
- NVD
- Deferred, last modified October 29, 2026, 19:17 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-59158
Is CVE-2026-59158 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.60% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of thoda-dev nuxt-ollama are affected by CVE-2026-59158?
nuxt-ollama from 1.2.26 before 1.3.1, per the GitHub advisory GHSA-fxg7-897c-57mp. The tables above give every range the sources list.
Which version fixes CVE-2026-59158?
1.3.1, per the GitHub advisory GHSA-fxg7-897c-57mp. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-59158?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-59158?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.