CVEfocus › CVE database › CVE-2026-104851

CVE-2026-104851fsspec: Server-Side Template Injection in ReferenceFileSystem leads to Remote Code…

CVSS 8.8 HighEPSS 0.6% (higher than 43% of CVEs)Published 2026-10-02Updated 2026-10-05Assigner: GitHub_M

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.

CWE-1336CWE-94

What to do

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
7Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10fsspecFix pendingUBUNTU-CVE-2026-104851
Ubuntu 26.04fsspecFix pendingUBUNTU-CVE-2026-104851
Ubuntu 24.04fsspecFix pendingUBUNTU-CVE-2026-104851
Ubuntu 22.04fsspecFix pendingUBUNTU-CVE-2026-104851
Ubuntu 20.04fsspecFix pendingUBUNTU-CVE-2026-104851
Debian 14fsspecFixed2026.9.0-1DEBIAN-CVE-2026-104851
Debian 13fsspecFix pendingDEBIAN-CVE-2026-104851
Debian 12fsspecFix pendingDEBIAN-CVE-2026-104851
PyPI libraryfsspecFixed2026.6.0PYSEC-2026-4217

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.