CVE-2026-104851
Published:October 02, 2026
Updated:October 09, 2026
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 Packages
fsspec (CONDA):
Affected version(s) >=2021.4.0 <2026.6.0Fix Suggestion:
Update to version 2026.6.0fsspec (CONDA):
Affected version(s) >=0.9.0 <2026.6.0Fix Suggestion:
Update to version 2026.6.0https://github.com/fsspec/filesystem_spec.git (GITHUB):
Affected version(s) >=2021.04.0 <2026.6.0Fix Suggestion:
Update to version 2026.6.0fsspec (PYTHON):
Affected version(s) >=0.9.0 <2026.6.0Fix Suggestion:
Update to version 2026.6.0fsspec (PYTHON):
Affected version(s) >=2021.4.0 <2026.6.0Fix Suggestion:
Update to version 2026.6.0Related Resources (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.32