---
id: GHSA-866w-xmhq-wj7x
title: >-
  SvelteKit: Prototype pollution in file input deletion path in remote-function
  forms
summary: >-
  SvelteKit: Prototype pollution in file input deletion path in remote-function
  forms
severity: medium
cvss: 4.3
cwe:
  - CWE-1321
vendor: sveltejs
product: '@sveltejs/kit'
ecosystem: npm
affected:
  - '@sveltejs/kit <= 2.69.0'
patched:
  - '@sveltejs/kit 2.69.1'
published: '2026-07-24'
updated: '2026-07-24'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-866w-xmhq-wj7x'
references:
  - url: 'https://github.com/sveltejs/kit/security/advisories/GHSA-866w-xmhq-wj7x'
  - url: 'https://github.com/sveltejs/kit/pull/16218'
  - url: >-
      https://github.com/sveltejs/kit/commit/df32f6fe86cdd0b68b650e3e4631e5896453dcd3
  - url: 'https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.69.1'
  - url: 'https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.0.0-next.7'
  - url: 'https://github.com/advisories/GHSA-866w-xmhq-wj7x'
tags:
  - ghsa
  - npm
ingestedAt: '2026-07-24T16:33:09.754Z'
---

## Overview

If you use remote form functions, have an input field of type `file`, and accept arbitrary user-controlled path names for the field, then you are vulnerable to a prototype pollution attack where the attacker can remove e.g. methods on the prototype.

## Affected packages

- `@sveltejs/kit <= 2.69.0`

## Remediation

Upgrade to a patched release:

- `@sveltejs/kit 2.69.1`
