Every CVESearch/Get API key

CVE-2026-128075

Nuxt exposes the message and data of unhandled errors thrown during server rendering

Explain with AI
ChatGPTClaudeGoogle AI
Severity
5.3Medium
Network attack, no privileges, no user interactionCVSS 3.1, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
0.33% in 30 days
Percentile28th
EPSS, scored
Listed fix
4.6.4 for 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:N

Exploit chance over time

Up less than 0.1 points since Nov 14, 2026
EPSS score, scored every day from Nov 14, 2026 to Dec 4, 2026: lowest 0.31% on Nov 14, 2026, highest 0.40% on Nov 25, 2026, 0.33% on the last day.

Affected

Packages 13

Affected packages
PackageAffectedFixed
nuxt
npm
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 laterNone listed
kyverno-policy-reporter-ui-dev
Docker 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 less
2.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-dev
Docker 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 less
2.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-dev
Docker 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 less
2.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-dev
Docker 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 less
2.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
Docker 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 less
2.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
Docker 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 less
2.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
Docker 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 less
2.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
Affected packages
PackageAffectedFixed
kyverno-policy-reporter-ui
Docker 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 less
2.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-dev
Docker 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 less
2.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-dev
Docker 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 less
2.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
Docker 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 less
2.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
Docker 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 less
2.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.

Packages named only by advisories that cover several CVEs
PackageAffectedFixed
nuxt
TuxCare: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Changes recorded by Every CVE
DayChangedSources
Affected packagesOSV
Affected packagesOSV
Affected packages, other IDsOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, other IDs, referencesOSV
Published dateEUVD
Affected packages, referencesOSV
Affected packages, key facts, referencesGitHub Advisories, OSV
Other IDs, referencesNVD, OSV
Other IDs, products, published dateEUVD
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open