SCA: security update for nuxt-ollama (GHSA-fxg7-897c-57mp)

high Tenable Self-Hosted Container Security Plugin ID 447866

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-59158)

Solution

Update the nuxt-ollama library and its related packages to version 1.3.1 or later.

See Also

https://github.com/advisories/GHSA-fxg7-897c-57mp

Plugin Details

Severity: High

ID: 447866

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 9/10/2026

Updated: 10/28/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.63

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2026-59158

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/9/2026

Vulnerability Publication Date: 9/9/2026

Reference Information

CVE: CVE-2026-59158

cwe: CWE-522