CVE-2026-104851Fsspec Filesystem Spec code injection
CVSS score
8.8
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.47%
0.47% chance of exploitation in the next 30 days, higher than 41.9% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running fsspec Filesystem Spec and compare its version with the affected versions.
Update to a fixed version
- Update Filesystem Spec to 2026.6.0 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| fsspec Filesystem Spec | >= 0.9.0, < 2026.6.0 |
Frequently asked questions
Is CVE-2026-104851 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-104851?
CVE-2026-104851 has a CVSS 3.1 base score of 8.8 (high).
Which versions are affected?
Fsspec Filesystem Spec (>= 0.9.0, < 2026.6.0)
Is there a patch for CVE-2026-104851?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/fsspec/filesystem_spec/commit/86438783f93b1398ef245b92f0e6063b445b611c
- github.com/fsspec/filesystem_spec/commit/a1c16ab3f07f354aa371c38f7b1b07ea7fd4c5c8
- github.com/fsspec/filesystem_spec/pull/2029
- github.com/fsspec/filesystem_spec/pull/2039
- github.com/fsspec/filesystem_spec/releases/tag/2026.6.0
- github.com/fsspec/filesystem_spec/security/advisories/GHSA-27vj-qcqg-25rc
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.