CVE-2026-128075
Nuxt exposes the message and data of unhandled errors thrown during server rendering
- Severity
- 5.3MediumNetwork attack, no privileges, no user interactionCVSS 3.1, CVE List
- Exploitation
- UnknownNo source reports exploitation yet.
- Exploit chance
- 0.33% in 30 daysPercentile28thEPSS, scored
- Listed fix
4.6.4for nuxt (npm)From GitHub Advisories and OSV1 more listed version, 12 other affected packages
Overview
Nuxt is an open-source web development framework for Vue.js. From 3.0.0 until 4.6.4, Nuxt wraps non-HTTP errors thrown during server rendering with createError and incorrectly treats the result as an error deliberately exposed by the application. In production, the error page payload (NUXT_DATA) and JSON error response can therefore disclose the original message and data, including an upstream $fetch URL, query-string secrets, response bodies, database hosts, or similar sensitive details, regardless of what a custom error.vue renders. Errors deliberately created with createError or showError, errors returned by useFetch or useAsyncData, and server/api routes are not affected because their client-visible behavior is intentional or follows a different path. This issue is fixed in version 4.6.4.
CVSS 3.1 vector
Exploitability
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
Impact
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NExploit chance over time
Affected
Packages 13
| Package | Affected | Fixed |
|---|---|---|
nuxtnpm | 4.0.0 up to 4.6.4 | 4.6.4 |
| 3.0.0 up to 4.0.0 | 4.0.0 | |
| 3.0.0 and later | None listed | |
kyverno-policy-reporter-ui-devDocker Hardened Images:Alpine:3.23 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 20 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8 | None listed |
kyverno-policy-reporter-ui-devDocker Hardened Images:Alpine:3.24 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 20 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8 | None listed |
kyverno-policy-reporter-ui-fips-devDocker Hardened Images:Alpine:3.23 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 20 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8 | None listed |
kyverno-policy-reporter-ui-fips-devDocker Hardened Images:Alpine:3.24 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 20 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8 | None listed |
kyverno-policy-reporter-ui-fipsDocker Hardened Images:Alpine:3.23 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 20 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8 | None listed |
kyverno-policy-reporter-ui-fipsDocker Hardened Images:Alpine:3.24 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 20 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8 | None listed |
kyverno-policy-reporter-uiDocker Hardened Images:Alpine:3.23 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 20 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8 | None listed |
Show 5 more packagesShow less
| Package | Affected | Fixed |
|---|---|---|
kyverno-policy-reporter-uiDocker Hardened Images:Alpine:3.24 | 2.6.1-r0 and later, plus listed versions 2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1 Show 20 more versionsShow less2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8 | None listed |
kyverno-policy-reporter-ui-devDocker Hardened Images:Debian:13 | 2.6.1-0 and later, plus listed versions 2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1 Show 20 more versionsShow less2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-62.9.1-72.9.1-8 | None listed |
kyverno-policy-reporter-ui-fips-devDocker Hardened Images:Debian:13 | 2.6.1-0 and later, plus listed versions 2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1 Show 20 more versionsShow less2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-62.9.1-72.9.1-8 | None listed |
kyverno-policy-reporter-ui-fipsDocker Hardened Images:Debian:13 | 2.6.1-0 and later, plus listed versions 2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1 Show 20 more versionsShow less2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-62.9.1-72.9.1-8 | None listed |
kyverno-policy-reporter-uiDocker Hardened Images:Debian:13 | 2.6.1-0 and later, plus listed versions 2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1 Show 20 more versionsShow less2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-62.9.1-72.9.1-8 | None listed |
Only in multi-CVE advisories 1
Each of these advisories covers several CVEs at once, so it doesn’t establish that this one affects the package.
| Package | Affected | Fixed |
|---|---|---|
nuxtTuxCare:npm | 4.4.8-tuxcare.0 up to 4.4.8-tuxcare.2, plus listed versions From an advisory covering 10 CVEs 4.4.84.4.8-tuxcare.1 | 4.4.8-tuxcare.2 |
Products 2
Sources
CVE List Score usedCVSS 3.15.3
Nuxt exposes the message and data of unhandled errors thrown during server rendering
Nuxt is an open-source web development framework for Vue.js. From 3.0.0 until 4.6.4, Nuxt wraps non-HTTP errors thrown during server rendering with createError and incorrectly treats the result as an error deliberately exposed by the application. In production, the error page payload (NUXT_DATA) and JSON error response can therefore disclose the original message and data, including an upstream $fetch URL, query-string secrets, response bodies, database hosts, or similar sensitive details, regardless of what a custom error.vue renders. Errors deliberately created with createError or showError, errors returned by useFetch or useAsyncData, and server/api routes are not affected because their client-visible behavior is intentional or follows a different path. This issue is fixed in version 4.6.4.
- Record
CVE-2026-128075- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-209
- Updated
- 2026-11-13
EUVDEUVD-2026-125626CVSS 3.15.3
Nuxt exposes the message and data of unhandled errors thrown during server rendering
- Record
EUVD-2026-125626- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-16
GitHub AdvisoriesGHSA-96x6-fvhx-49hgCVSS 3.15.3
Nuxt exposes the message and data of unhandled errors thrown during server rendering
Summary
When a page, plugin or route middleware throws an error that is not an HTTP error, Nuxt wraps it with createError before rendering the error page. The wrapped error was treated as one the app raised deliberately, so in production its message and data were sent to the client in the error page payload (__NUXT_DATA__) and in JSON error responses. For a failed $fetch, that is the URL that was requested (including its query string) and the body of the upstream error response.
Impact
An application is affected if server-rendered code lets an error with sensitive details reach the error page, for example:
<script setup lang="ts">
const route = useRoute()
// the upstream error body, and the token in the URL, reach the client if this request fails
await $fetch(`http://users.internal/users/${route.params.id}?token=${useRuntimeConfig().usersToken}`)
</script>
Anyone who can make the request fail (for example by requesting an id the upstream service rejects) receives [GET] "http://users.internal/users/1?token=...": 502 and the upstream response body. This happens regardless of what a custom error.vue renders, because the details are part of the payload. With the default configuration, the HTTP status line is not affected.
The same applies to any other error thrown during server rendering, such as a database driver error whose message names an internal host.
Errors created deliberately with createError (or showError) are not affected: their message and data are meant for the client. Errors returned by useFetch and useAsyncData are also unchanged, as they are part of the payload by design. Server routes (server/api) are not affected.
Patches
Fixed in nuxt@4.6.4. Nuxt now marks any thrown value that is not already an HTTP error as unhandled, so the error page and JSON responses receive its status and a generic message. As a result, the error page no longer shows the message of an error thrown with throw new Error(...) in production; throw a createError with what the client may see instead.
Nuxt 3 has reached end of life and will not receive a fix. Upgrade to Nuxt 4, or apply the workaround below.
Workarounds
Catch errors from server-side requests and rethrow them with only the details the client may see:
try {
await $fetch(url)
} catch (error) {
throw createError({ statusCode: 502, statusMessage: 'Upstream request failed' })
}
Alternatively, add a Nitro plugin that hides the details of errors Nuxt wrapped. This also hides the details of a createError called with an Error (or with a cause):
// server/plugins/hide-error-details.ts
export default defineNitroPlugin((nitroApp) => {
nitroApp.hooks.hook('error', (error) => {
const cause = (error as { cause?: unknown }).cause
if (cause instanceof Error && !(cause.constructor as { __h3_error__?: boolean }).__h3_error__) {
Object.assign(error, { unhandled: true, data: undefined })
}
})
})
If secrets such as tokens in upstream URLs may have been exposed this way, rotate them.
Credits
Thanks to abhijit_dave for reporting this through the Vercel HackerOne program.
- Record
GHSA-96x6-fvhx-49hg- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-209
- Updated
- 2026-11-16
NVDCVSS 3.15.3
Nuxt is an open-source web development framework for Vue.js. From 3.0.0 until 4.6.4, Nuxt wraps non-HTTP errors thrown during server rendering with createError and incorrectly treats the result as an error deliberately exposed by the application. In production, the error page payload (NUXT_DATA) and JSON error response can therefore disclose the original message and data, including an upstream $fetch URL, query-string secrets, response bodies, database hosts, or similar sensitive details, regardless of what a custom error.vue renders. Errors deliberately created with createError or showError, errors returned by useFetch or useAsyncData, and server/api routes are not affected because their client-visible behavior is intentional or follows a different path. This issue is fixed in version 4.6.4.
- Record
CVE-2026-128075- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-209
- Updated
- 2026-11-13
OSVCVSS 3.15.3
Nuxt exposes the message and data of unhandled errors thrown during server rendering
Nuxt is an open-source web development framework for Vue.js. From 3.0.0 until 4.6.4, Nuxt wraps non-HTTP errors thrown during server rendering with createError and incorrectly treats the result as an error deliberately exposed by the application. In production, the error page payload (NUXT_DATA) and JSON error response can therefore disclose the original message and data, including an upstream $fetch URL, query-string secrets, response bodies, database hosts, or similar sensitive details, regardless of what a custom error.vue renders. Errors deliberately created with createError or showError, errors returned by useFetch or useAsyncData, and server/api routes are not affected because their client-visible behavior is intentional or follows a different path. This issue is fixed in version 4.6.4.
- Record
CVE-2026-128075- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-209
- Updated
- 2026-11-15
OSVDHI-4fzy-5bup-gp5l-azfgCVSS 3.15.3
Nuxt is an open-source web development framework for Vue.js. From 3.0.0 until 4.6.4, Nuxt wraps non-HTTP errors thrown…
Nuxt is an open-source web development framework for Vue.js. From 3.0.0 until 4.6.4, Nuxt wraps non-HTTP errors thrown during server rendering with createError and incorrectly treats the result as an error deliberately exposed by the application. In production, the error page payload (NUXT_DATA) and JSON error response can therefore disclose the original message and data, including an upstream $fetch URL, query-string secrets, response bodies, database hosts, or similar sensitive details, regardless of what a custom error.vue renders. Errors deliberately created with createError or showError, errors returned by useFetch or useAsyncData, and server/api routes are not affected because their client-visible behavior is intentional or follows a different path. This issue is fixed in version 4.6.4.
- Record
DHI-4fzy-5bup-gp5l-azfg- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-12-05
OSVGHSA-96x6-fvhx-49hgCVSS 3.15.3
Nuxt exposes the message and data of unhandled errors thrown during server rendering
Summary
When a page, plugin or route middleware throws an error that is not an HTTP error, Nuxt wraps it with createError before rendering the error page. The wrapped error was treated as one the app raised deliberately, so in production its message and data were sent to the client in the error page payload (__NUXT_DATA__) and in JSON error responses. For a failed $fetch, that is the URL that was requested (including its query string) and the body of the upstream error response.
Impact
An application is affected if server-rendered code lets an error with sensitive details reach the error page, for example:
<script setup lang="ts">
const route = useRoute()
// the upstream error body, and the token in the URL, reach the client if this request fails
await $fetch(`http://users.internal/users/${route.params.id}?token=${useRuntimeConfig().usersToken}`)
</script>
Anyone who can make the request fail (for example by requesting an id the upstream service rejects) receives [GET] "http://users.internal/users/1?token=...": 502 and the upstream response body. This happens regardless of what a custom error.vue renders, because the details are part of the payload. With the default configuration, the HTTP status line is not affected.
The same applies to any other error thrown during server rendering, such as a database driver error whose message names an internal host.
Errors created deliberately with createError (or showError) are not affected: their message and data are meant for the client. Errors returned by useFetch and useAsyncData are also unchanged, as they are part of the payload by design. Server routes (server/api) are not affected.
Patches
Fixed in nuxt@4.6.4. Nuxt now marks any thrown value that is not already an HTTP error as unhandled, so the error page and JSON responses receive its status and a generic message. As a result, the error page no longer shows the message of an error thrown with throw new Error(...) in production; throw a createError with what the client may see instead.
Nuxt 3 has reached end of life and will not receive a fix. Upgrade to Nuxt 4, or apply the workaround below.
Workarounds
Catch errors from server-side requests and rethrow them with only the details the client may see:
try {
await $fetch(url)
} catch (error) {
throw createError({ statusCode: 502, statusMessage: 'Upstream request failed' })
}
Alternatively, add a Nitro plugin that hides the details of errors Nuxt wrapped. This also hides the details of a createError called with an Error (or with a cause):
// server/plugins/hide-error-details.ts
export default defineNitroPlugin((nitroApp) => {
nitroApp.hooks.hook('error', (error) => {
const cause = (error as { cause?: unknown }).cause
if (cause instanceof Error && !(cause.constructor as { __h3_error__?: boolean }).__h3_error__) {
Object.assign(error, { unhandled: true, data: undefined })
}
})
})
If secrets such as tokens in upstream URLs may have been exposed this way, rotate them.
Credits
Thanks to abhijit_dave for reporting this through the Vercel HackerOne program.
- Record
GHSA-96x6-fvhx-49hg- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-209
- Updated
- 2026-11-16
OSVCLSA-2026-1795819854No score
TuxCare security update for nuxt (10 CVEs)
TuxCare rebuilt nuxt to address 10 CVEs. Fixed in 4.4.8-tuxcare.2.
- Record
CLSA-2026-1795819854- Updated
- 2026-11-30
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs, references | OSV | |
| Published date | EUVD | |
| Affected packages, references | OSV | |
| Affected packages, key facts, references | GitHub Advisories, OSV | |
| Other IDs, references | NVD, OSV | |
| Other IDs, products, published date | EUVD | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/nuxt/nuxt/security/advisories/GHSA-96x6-fvhx-49hg
github.com/nuxt/nuxt/commit/8c56b71e4d0377c5c047799078db09c6b3d4fde5
github.com/nuxt/nuxt/releases/tag/v4.6.4
nvd.nist.gov/vuln/detail/CVE-2026-128075
github.com/advisories/GHSA-96x6-fvhx-49hg
github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128075.json
scout.docker.com/v/DHI-4fzy-5bup-gp5l-azfg
github.com/nuxt/nuxt