Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2026-104851 EUVD-2026-91720GHSA-27vj-qcqg-25rcPYSEC-2026-4217

fsspec: Server-Side Template Injection in ReferenceFileSystem leads to Remote Code Execution

Published Oct 2, 2026 · Updated Oct 5, 2026 · Assigned by GitHub_M

Description

fsspec is a specification and Python implementation framework for filesystem interfaces. From 0.9.0 until 2026.6.0, fsspec.implementations.reference.ReferenceFileSystem evaluates fields from Kerchunk reference JSON documents through unrestricted jinja2.Template(...).render(...) calls in _process_references1._render_jinja, _process_templates, and _process_gen in fsspec/implementations/reference.py. A document supplied inline or fetched from an attacker-controlled URL can provide template expressions that execute Python code when the reference filesystem is opened, including through consumers such as xarray, before referenced data is read. The _process_gen path is reached whenever a document includes a gen array, while the other paths depend on template-related options and values. This issue is fixed in version 2026.6.0.

Affected products

VendorProductAffectedFixed
fsspec filesystem_spec >= 0.9.0, < 2026.6.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 fsspec 2026.9.0-1 —
Debian 13 fsspec No fix yet —
Debian 12 fsspec No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 fsspec No fix yet —
Ubuntu 26.04 LTS fsspec No fix yet —
Ubuntu 24.04 LTS fsspec No fix yet —
Ubuntu 22.04 LTS fsspec No fix yet —
Ubuntu 20.04 LTS fsspec No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 python-fsspec 2024.3.1-bp160.2.1 openSUSE-SU-2026:22028-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kserve-storage-controller 0.21.0-r3 —
Wolfi rolling open-webui 0.11.4-r5 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI fsspec >= 0.9.0, < 2026.6.0 2026.6.0 GHSA-27vj-qcqg-25rc

Advisories 2

References