CVE-2026-104851fsspec filesystem_spec
High 8.8 No auth needed
Follow: this CVE · fsspec · fsspec filesystem_spec We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- —
- Auth required
- No
- Published
- Oct 2, 2026
- Updated
- Oct 5, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for filesystem_spec.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | fsspec |
≥ 0.9.0 < 2026.6.0 |
2026.6.0 |
pip install "fsspec>=2026.6.0" |
| PyPI | fsspec |
≥ 0.9.0 < 2026.6.0 |
2026.6.0 |
pip install "fsspec>=2026.6.0" |
Per OSV / GitHub Advisories (GHSA-27vj-qcqg-25rc, PYSEC-2026-4217). Check the version in your lockfile before upgrading.
Affected products
- fsspec · filesystem_spec
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for python-fsspec · SUSE · openSUSE-SU-2026:22028-1 · Oct 6, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.