8.8

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

Deferred
AliasesGHSA-27vj-qcqg-25rcUBUNTU-CVE-2026-104851DEBIAN-CVE-2026-104851
Published 02-10-2026Last modified 05-10-2026

Vulnerability summary

CVE-2026-104851 is a high (CVSS 8.8) Improper Control of Generation of Code vulnerability in fsspec filesystem_spec. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 41% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.47%
0%100%
Low · +0.16 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 02-10-2026
    PublishedVulnerability first disclosed.
  2. 05-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.47%

Chance of exploitation in the next 30 days

Percentile

41%

Versus all other CVEs

30-day change

Increase +0.16 pp

From 0.32% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard17 products
  • airflow-2All versions (No fix recorded)
  • airflow-core-2< 2.11.2-r13
  • kserve-huggingfaceserver-cuda-13.3All versions (No fix recorded) | < 0.21.0-r4
  • kserve-storage-controller< 0.21.0-r3
  • mlrunAll versions (No fix recorded) | < 1.12.1-r1
Wolfi2 products
  • kserve-storage-controller< 0.21.0-r3
  • open-webui< 0.11.4-r5
Debian1 product
  • fsspecAll versions (No fix recorded) | < 2026.9.0-1
Fsspec1 product
Opensuse1 product
  • python-fsspec&distro=openSUSE Leap 16.0< 2024.3.1-bp160.2.1
PyPI1 product
  • fsspec≥ 0.9.0, < 2026.6.0
Ubuntu1 product
  • fsspecAll versions (No fix recorded)

7 vendors · 24 products

References

16 links
Show all 16 references