All vulnerabilities

Servers and applications

GHSA-p442-5rpj-jqg7

Private `query.live` functions could collide, returning results from a different function

Severity
Medium 5.3
Published
25 Nov 2026
Last changed
25 Nov 2026
Added to UpHeron
25 Nov 2026
Fixed in
3.4.1
Weakness
Incorrect authorization (CWE-863)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Sources
Project advisories (GitHub)

Description

Under certain circumstances, private (non-exported) query.live functions called with the same argument during a single request could end up sharing an underlying iterator. As a result, iterating one function could yield values produced by another, and the second function's own body (including any authorization or filtering logic it contains) would not run. This only affects apps using the experimental remote functions flag that iterate multiple non-exported query.live functions on the server within one request.

The issue is fixed in @sveltejs/kit 3.4.1. As a workaround, export the affected query.live functions, or ensure private query.live functions are not iterated with identical arguments in the same request.

From sveltejs/kit's security advisory.

Affected software

SoftwareAffected versions
SvelteKitServers and applications · github:sveltejs/kit
  • From 2.61.0 before 3.4.1

About SvelteKit

web development, streamlined

From its GitHub repository.
Weekly downloads (npm)
5,128,894npm, 22 Nov 2026
GitHub stars
20,926GitHub, 22 Nov 2026
Forks
2,391GitHub, 22 Nov 2026
Latest release
@sveltejs/[email protected]GitHub, 22 Nov 2026
Released
18 Nov 2026GitHub
License
MITGitHub
First published on GitHub
15 Oct 2020GitHub

References