id: CVE-2026-59158 info: name: "Nuxt Ollama - Public Runtime Config API Key Exposure" author: vedas-arpsyndicate severity: high description: | Nuxt Ollama before 1.3.1 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. No Ollama request from the template is required for the secret to leak. reference: - https://www.exploit.observer/?keyword=CVE-2026-59158&match=exact - https://subdomain.center/?engine=ammonites&keyword=nuxt-ollama&match=exact classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N cvss-score: 7.5 cve-id: CVE-2026-59158 cwe-id: CWE-522 metadata: verified: false max-request: 1 tags: cve,cve2026,nuxt-ollama,exposure,disclosure http: - raw: - | GET / HTTP/1.1 Host: {{Hostname}} matchers: - type: dsl dsl: - 'contains(body, "__NUXT__")' - 'contains(body, "ollama")' - 'contains(body, "api_key")' - 'status_code == 200' condition: and