CVE-2026-119346

    Dashboard / Vulnerabilities / CVE-2026-119346

    CVE-2026-119346

    Published: 16 Nov 2026Last Modified: 18 Nov 2026

    Summary: Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes

    Details: Next.js is a React framework for building full-stack web applications. From 15.0.0 until 15.5.29 and 16.4.5, Next.js applications that use NextResponse to set cookies on Edge runtime routes expose the internal x-middleware-set-cookie header in the public response. This affects App Router route handlers and Pages Router Edge API routes. The header duplicates each cookie value and its attributes, so JavaScript already running on the same origin can read values that the Set-Cookie header marks HttpOnly, including sensitive session tokens set on an affected response. This issue is fixed in versions 16.4.5 and 15.5.29.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 51bfe3c1863b191f4b039bc230e8ed5c57b0baf3

    Affected versions

    v16.4.4
    v16.4.3
    v16.4.2
    v16.4.1
    v16.4.0
    v16.4.0-canary.63
    v16.4.0-canary.62
    v16.4.0-canary.61
    v16.4.0-canary.60
    v16.4.0-canary.59
    v16.4.0-canary.58
    v16.4.0-canary.57
    v16.4.0-canary.56
    v16.4.0-canary.55
    v16.4.0-canary.54
    v16.4.0-canary.53
    v16.4.0-canary.52
    v16.4.0-canary.51
    v16.4.0-canary.50
    v16.4.0-canary.49
    v16.4.0-canary.48
    v16.4.0-canary.47
    v16.4.0-canary.46
    v16.4.0-canary.45
    v16.4.0-canary.44
    v16.4.0-canary.43
    v16.4.0-canary.42
    v16.4.0-canary.41
    v16.4.0-canary.40
    v16.4.0-canary.39
    v16.4.0-canary.38
    v16.4.0-canary.37
    v16.4.0-canary.36
    v16.4.0-canary.35
    v16.4.0-canary.34
    v16.4.0-canary.33
    v16.4.0-canary.32
    v16.4.0-canary.31
    v16.4.0-canary.30
    v16.4.0-canary.29
    v16.4.0-canary.28
    v16.4.0-canary.27
    v16.4.0-canary.26
    v16.4.0-canary.25
    v16.4.0-canary.24
    v16.4.0-canary.23
    v16.4.0-canary.22
    v16.4.0-canary.21
    v16.4.0-canary.20
    v16.4.0-canary.17
    v16.4.0-canary.19
    v16.4.0-canary.18
    v16.4.0-canary.16
    v16.4.0-canary.15
    v16.4.0-canary.13
    v16.4.0-canary.14
    v16.4.0-canary.12
    v16.4.0-canary.11
    v16.4.0-canary.10
    v16.4.0-canary.9
    v16.4.0-canary.8
    v16.4.0-canary.2
    v16.4.0-canary.7
    v16.4.0-canary.6
    v16.4.0-canary.5
    v16.4.0-canary.3
    v16.4.0-canary.4
    v16.4.0-canary.1
    v16.4.0-canary.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2026-119346 | CVE-DB