Skip to main content

SvelteKit CVE-2026-128119

| EUVDEUVD-2026-125731 MEDIUM
Incorrect Authorization (CWE-863)
2026-11-13 GitHub_M GHSA-6cf5-gc4q-fm3x
5.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send batched requests to remote query endpoints
  2. Exploit
    Private query.batch functions collide on shared identifier
  3. Execution
    Arguments routed to the wrong batched function
  4. Impact
    Function arguments disclosed via cross-function processing

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of the following, per the advisory: (1) the application is running with the experimental remote functions flag enabled; (2) the application defines two or more non-exported (private) query.batch functions; and (3) those private functions end up sharing a request batch within the same macrotask so their generated identifiers collide. Limiting factors: the experimental flag is non-default, the bug only manifests for private/non-exported batch queries (exported ones are unaffected), the collision is not directly attacker-controlled (reflected as AC:H), and only versions 2.60.1 through 3.1.0 are affected (fixed in 3.1.1). Impact is limited to cross-function argument exposure; no code execution or availability loss is described.

Impact

The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N, base 5.9 Medium) describes a network-reachable, unauthenticated issue of high attack complexity whose only impact is confidentiality. The high complexity is well supported by the evidence: exploitation depends on two separate non-exported query.batch functions being assigned the same generated identifier and ending up in the same request batch within a macrotask - a condition the attacker does not directly control and that only arises under the experimental remote functions flag. No EPSS score was provided, the CVE is not listed in CISA KEV, and no public exploit was identified - the only exploit-adjacent artifact in the input is the fix commit itself, not working exploit code. The vuln.today decision label is 'this_month,' not act_now or emergency, which is consistent with a real-but-conditional bug rather than a widely-weaponized one. Net: this is a legitimate data-isolation defect worth patching on a normal cycle, not a drop-everything emergency; its real-world reach is bounded by the experimental-flag gate and the specific requirement of multiple private batch queries. Note a labeling tension to verify: the input tag 'Authentication Bypass' does not match the actual mechanism (CWE-863 incorrect authorization / cross-function argument bleed), so do not treat this as an authentication-bypass issue.

Exploit ScenarioDerived

A SvelteKit app runs with the experimental remote functions flag and defines two or more private (non-exported) query.batch functions. When concurrent requests cause those functions to share a batch and collide on the same generated identifier, arguments supplied for one function are processed by the other, so one caller's arguments can surface in another function's handling and be disclosed. No public exploit code is available; only the upstream patch commit demonstrates the corrected behavior.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Confidentiality exposure in the npm package @sveltejs/kit 2.60.1 through 3.1.0 allows arguments submitted for one non-exported query.batch function to be routed to a different private batch function when both collide in the same request batch. Only applications that have enabled the experimental remote functions flag and declare two or more non-exported query.batch functions are exposed; exported batch queries are unaffected. Unauthenticated remote attackers could obtain another function's arguments, but the collision is not directly attacker-controlled, no public exploit code was identified at time of analysis, and the flaw is fixed in 3.1.1.

RemediationAI

Upgrade @sveltejs/kit to 3.1.1, the vendor-released patch, which keys the batch map by the RemoteQueryBatchInternals object rather than the generated identifier and prevents separate private query.batch functions from sharing a batch; the release is at https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.1.1 and the fix commit is 2c190febe78a15cac21be539ed9e99dc2d414b60, with the advisory at https://github.com/sveltejs/kit/security/advisories/GHSA-6cf5-gc4q-fm3x. If upgrading cannot be done immediately, the exposure can be removed by disabling the experimental remote functions flag, which removes the affected feature entirely and breaks any application code depending on it, or by ensuring affected batch queries are exported rather than private, since the advisory scopes the bug to non-exported query.batch functions; this requires reviewing and restructuring the remote module's exports as a temporary measure until the package is updated.

Affected VersionsENISA

kit 2.60.1, < 3.1.1

Affected Packages

npm @sveltejs/kit fix: 3.1.1
euvd kit fix: 3.1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SvelteKit's remote functions feature (behind the experimental flag) lets server code define query and query.batch handlers consumed by the client. Batched queries accumulate requested payloads in per-request state during the same macrotask and then dispatch them together. The vulnerable implementation keyed that map by the generated string identifier (__.id) of the batch function rather than by the function's internal object identity, so two separate non-exported query.batch definitions that ended up with the same generated identifier shared a single pending batch and had their arguments mixed. The commit for the fix changes the RequestState map to be keyed by RemoteQueryBatchInternals objects instead of strings, and the accompanying test asserts that a private get_a and get_b each receive only their own arguments. The advisory classifies the root cause as CWE-863 (incorrect authorization), reflecting that arguments are processed under the wrong function's context; the practical consequence described is cross-function processing and disclosure of function arguments, with no code execution or availability impact.

Know when Sveltekit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Network-reachable with no privileges; AC:H because it hinges on an uncontrolled identifier collision under the experimental flag; C:H for cross-request argument disclosure, I:L for wrong-function processing, no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 20:49 EUVD

DescriptionCVE.org

SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. From version 2.60.1 until 3.1.1, applications using the experimental remote functions flag could assign the same generated identifier to separate non-exported query.batch functions. When those private functions shared a request batch, arguments intended for one function could be passed to another function, causing unexpected cross-function processing and possible disclosure of function arguments. This issue is fixed in 3.1.1.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 npm packages depend on @sveltejs/kit (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 2.60.1.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular Svelte web framework, meaningful but not universal production footprint
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy