CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-49993

CVE-2026-49993: Proprietary Source Code Exfiltration via Incomplete Same-Origin Verification in Nuxt Dev Servers

Amit Schendel
Amit Schendel
Senior Security Researcher

Jun 17, 2026·4 min read·38 visits

Executive Summary (TL;DR)

Nuxt dev servers bound to non-loopback interfaces allow headerless cross-origin requests, enabling malicious sites to silently exfiltrate proprietary source code from active local development environments.

CVE-2026-49993 identifies an incomplete same-origin check validation mechanism in @nuxt/webpack-builder and @nuxt/rspack-builder dev server middleware. When the local development server is bound to a non-loopback address, cross-origin attackers can bypass verification checks by suppressing browser headers, leading to unauthorized retrieval and exfiltration of compiled source code chunks.

Vulnerability Overview

Nuxt local development environments leverage hot reloading and build asset transmission, requiring the development server to host compiled source assets. To prevent malicious websites from reading these local builder chunks via cross-origin fetch requests, same-origin verification checks are implemented.

CVE-2026-49993 is an information disclosure vulnerability within the @nuxt/webpack-builder and @nuxt/rspack-builder modules. This flaw permits remote attackers to bypass same-origin checks and exfiltrate proprietary source code.

The vulnerability exists as an incomplete remediation of GHSA-6m52-m754-pw2g and GHSA-4gf7-ff8x-hq99. When the dev server is bound to a non-loopback address, a malicious website can craft a headerless request that bypasses validation.

Root Cause Analysis

The same-origin validation mechanism (isSameOriginRequest) includes a fallback branch to permit headerless requests. This fallback exists to support developer utility tools like curl and local hot module replacement processes that do not transmit browser-specific security headers.

If the validation headers Sec-Fetch-Site, Origin, and Referer are completely absent, the middleware assumes the request originates from a trusted non-browser client. An attacker can manipulate web standard behaviors to coerce a victim's browser into stripping these headers during a cross-origin request.

Standard browser behaviors omit Sec-Fetch-Site when communicating with plain HTTP targets on a physical LAN. The Origin header is dropped during standard, non-CORS script subresource fetches, while the Referer header is suppressed using a no-referrer policy.

Code Analysis

In the vulnerable implementation, the same-origin validation utility allowed requests instantly if both the origin and referrer headers were absent. The middleware evaluated if (!initiator) return true; without verifying the host binding configuration.

The corrected implementation introduces a host validation routine isLoopbackHost to check if the incoming Host header corresponds to a local loopback address. If the initiator is absent, the middleware now returns the result of this loopback validation.

// Patch implemented in Pull Request #35200
const LOOPBACK_HOSTNAMES = new Set(['localhost', '127.0.0.1', '::1'])
 
function isLoopbackHost (host: string | undefined): boolean {
  if (!host) { return false }
  const withoutPort = host.replace(/:\d+$/, '')
  const hostname = withoutPort.replace(/^\([|]\)$/g, '').toLowerCase()
  return LOOPBACK_HOSTNAMES.has(hostname)
}
 
export function isSameOriginRequest (req: { headers: Record<string, string | string[] | undefined> }): boolean {
  const site = firstHeader(req.headers['sec-fetch-site'])
  if (site !== undefined) {
    return site === 'same-origin' || site === 'none'
  }
 
  const initiator = firstHeader(req.headers.origin) || firstHeader(req.headers.referer)
  if (!initiator) {
    // Only allow header-less requests if bound to loopback
    return isLoopbackHost(firstHeader(req.headers.host))
  }
 
  try {
    return new URL(initiator).host === firstHeader(req.headers.host)
  } catch {
    return false
  }
}

Exploitation Methodology

The attack relies on a developer hosting their local Nuxt application bound to a non-loopback network interface. An attacker on the local network or a public web resource targets the developer's LAN-exposed dev server IP address.

The attacker lures the developer to a malicious site that initiates a cross-origin script load. By setting referrerpolicy="no-referrer" on the script tag and requesting the main JavaScript entry point from the LAN IP, the browser suppresses all validation headers.

When the browser executes the loaded chunk, the malicious parent page executes introspection techniques against the global Webpack or Rspack registry. The payload serializes the loaded components via Function.prototype.toString() and exfiltrates the source code to a remote endpoint.

Impact Assessment

A successful exploit allows the complete exfiltration of proprietary client-side and server-side source code compiled during the dev session. Attackers gain access to structural configuration details, application logic, and potentially embedded hardcoded credentials.

The CVSS v3.1 score is evaluated at 5.7, indicating a medium severity rating. This reflects the requirement for user interaction and network adjacency, despite the high confidentiality compromise.

Since this is an unauthenticated client-side exfiltration vector, it operates as a silent attack mechanism. The victim developer is not notified of the memory introspection and subsequent transmission of the source code assets.

Remediation & Hardening

The primary resolution requires upgrading the @nuxt/webpack-builder and @nuxt/rspack-builder dependencies. The framework maintainers patched this issue in versions 3.21.7 and 4.4.7.

When upgrading is not feasible, developers must avoid binding development instances to non-loopback interfaces. Running servers via nuxt dev --host exposes the application to adjacent network threats and headerless exploitation.

Additional protection is achieved by leveraging browser profiles that enforce strict Local Network Access (LNA) validation. Isolating development sessions from general web browsing limits the exposure of local ports to external websites.

Fix Analysis (2)

Technical Appendix

CVSS Score
5.7/ 10
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS Probability
0.20%
Top 90% most exploited

Affected Systems

@nuxt/webpack-builder@nuxt/rspack-builder

Affected Versions Detail

Product
Affected Versions
Fixed Version
@nuxt/webpack-builder
Nuxt
>= 3.15.4, < 3.21.73.21.7
@nuxt/rspack-builder
Nuxt
>= 3.15.4, < 3.21.73.21.7
@nuxt/webpack-builder
Nuxt
>= 4.0.0, < 4.4.74.4.7
@nuxt/rspack-builder
Nuxt
>= 4.0.0, < 4.4.74.4.7
AttributeDetail
CWE IDCWE-749
Attack VectorAdjacent Network
CVSS v3.1 Score5.7
EPSS Score0.00201
ImpactHigh Confidentiality Loss
Exploit StatusProof of Concept
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1518Software Discovery
Discovery
T1203Exploitation for Client Execution
Execution
CWE-749
Exposed Dangerous Method or Function

The product provides an active development endpoint with inadequate validation, allowing malicious external resources to trigger functionality that leaks compilation assets.

References & Sources

  • [1]GitHub Security Advisory GHSA-x6qj-4h56-5rj5
  • [2]GitHub Security Advisory GHSA-6m52-m754-pw2g
  • [3]Fix Pull Request #35200
  • [4]CVE-2026-49993 Record
  • [5]NVD entry for CVE-2026-49993

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 1 hour ago•CVE-2026-59973
8.5

CVE-2026-59973: High-Severity Server-Side Request Forgery in FrontMCP and mcp-from-openapi

CVE-2026-59973 is a high-severity Server-Side Request Forgery (SSRF) vulnerability in FrontMCP and its underlying OpenAPI parsing library, mcp-from-openapi. The flaw allows authenticated attackers capable of importing or configuring OpenAPI specifications to bypass string-based hostname filtering mechanisms. By employing DNS wildcard loopbacks, HTTP redirects, or IPv4-mapped IPv6 address formatting, attackers can coerce the application into sending HTTP requests to internal networks, loopback adapters, and cloud metadata environments.

Amit Schendel
Amit Schendel
3 views•7 min read
•about 7 hours ago•CVE-2026-3888
7.8

CVE-2026-3888: Local Privilege Escalation in snapd via systemd-tmpfiles

CVE-2026-3888 is a critical local privilege escalation vulnerability arising from the insecure interaction between Canonical's snap-confine helper binary and systemd-tmpfiles within the world-writable /tmp directory.

Alon Barad
Alon Barad
8 views•6 min read
•about 16 hours ago•CVE-2026-46696
3.3

CVE-2026-46696: Safe Mode Sandbox Bypass in October CMS via Session Store and Forwarded Builder Calls

CVE-2026-46696 identifies a critical sandbox bypass vulnerability in the October CMS platform that affects the Twig template security policy when safe mode is enabled. An authenticated backend user with permissions to modify CMS markup templates can chain unrestricted session store method access with Eloquent database query forwarding omissions. This chain allows the attacker to execute arbitrary raw SQL queries to read system secrets and subsequently write those secrets directly to the active session payload, achieving unauthorized administrative privilege escalation.

Alon Barad
Alon Barad
8 views•8 min read
•about 17 hours ago•CVE-2026-49400
3.3

CVE-2026-49400: PHP Object Injection Sandbox Escape in October CMS SessionMaker

A security vulnerability in October Content Management System (CMS) involves the deserialization of untrusted data (CWE-502) within the backend SessionMaker trait. Prior to the patched versions, October CMS stored widget session states as base64-encoded serialized PHP objects. When loading these states, the application consumed them using unserialize() without enforcing class restrictions (allowed_classes). In configurations where cms.safe_mode is enabled to sandbox users with markup editor privileges, an attacker can exploit this behavior to instantiate arbitrary PHP classes and execute arbitrary code via accessible gadget chains.

Amit Schendel
Amit Schendel
9 views•6 min read
•about 18 hours ago•CVE-2026-56668
8.1

CVE-2026-56668: Privilege Escalation and Cross-Client Audience Bypass in ZITADEL OAuth2 Token Exchange

A security vulnerability in ZITADEL's backend implementation of the OAuth2 Token Exchange endpoint allows authenticated clients to perform scope escalation and cross-client audience bypass. Prior to version 4.15.3, the Token Exchange flow lacked crucial validation logic, enabling low-privilege tokens to be exchanged for high-privilege tokens or tokens valid within other client applications, violating the OAuth2 delegation model.

Alon Barad
Alon Barad
7 views•7 min read
•about 19 hours ago•CVE-2026-76081
5.5

CVE-2026-76081: Improper Role Revocation in ZITADEL Dynamic Project Grants

CVE-2026-76081 is a logical vulnerability in ZITADEL's role cascading logic where updating a Project Grant to drop multiple adjacent roles simultaneously fails to clean up associated User Grants due to an in-place slice mutation error in Go.

Amit Schendel
Amit Schendel
11 views•6 min read