fsspec: Server-Side Template Injection in ReferenceFileSystem leads to Remote Code Execution
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 8 fixed, 7 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1336.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| fsspec | filesystem_spec | 0.9.0 to before 2026.6.0 | 2026.6.0 | Patch available | CNA |
| — | fsspec (PyPI) | 0.9.0 to before 2026.6.0 | 2026.6.0 | Patch available | GHSA-27vj-qcqg-25rc |
- filesystem_spec Vendorfsspec Affected 0.9.0 to before 2026.6.0 Fixed in 2026.6.0 Patch available CNA
- fsspec (PyPI) Vendor— Affected 0.9.0 to before 2026.6.0 Fixed in 2026.6.0 Patch available GHSA-27vj-qcqg-25rc
Remediation
- Fix · CNA filesystem_spec (fsspec) Fixed in 2026.6.0
- Fix · GHSA-27vj-qcqg-25rc fsspec (PyPI) Fixed in 2026.6.0 Advisory →
Red Hat 15 advisories
- RHSA-2026:94631 Released 2026-11-03 · Red Hat rating CriticalGuideLLM 3.5.1
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/guidellm-rhel9
- RHSA-2026:92510 Released 2026-10-29 · Red Hat rating CriticalRHOAI 3.4.6 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-cli-rhel9, registry.redhat.io/rhoai/odh-dashboard-rhel9 +47
- RHSA-2026:90440 Released 2026-10-26 · Red Hat rating ImportantRed Hat Enterprise Linux AI 3.4.6 security update
- Red Hat Enterprise Linux AI 3.4 registry.redhat.io/rhelai3/bootc-aws-cuda-rhel9, registry.redhat.io/rhelai3/bootc-azure-cuda-rhel9, registry.redhat.io/rhelai3/bootc-azure-rocm-rhel9 +3
Show 12 more Red Hat advisories
- RHSA-2026:90432 Released 2026-10-26 · Red Hat rating ImportantRed Hat Enterprise Linux AI 3.4.6 security update
- Red Hat Enterprise Linux AI 3.4 registry.redhat.io/rhelai3/disk-image-cuda-rhel9
- RHSA-2026:87410 Released 2026-10-21 · Red Hat rating CriticalRHOAI 2.25.12 - Red Hat OpenShift AI
- Red Hat OpenShift AI 2.25 registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-caikit-nlp-rhel9, registry.redhat.io/rhoai/odh-codeflare-operator-rhel9 +47
- RHSA-2026:87124 Released 2026-10-21 · Red Hat rating CriticalRed Hat Ansible Automation Platform 2.7 Container Release Update
- Red Hat Ansible Automation Platform 2.7 registry.redhat.io/ansible-automation-platform-27/de-supported-rhel9, registry.redhat.io/ansible-automation-platform-27/eda-controller-rhel9, registry.redhat.io/ansible-automation-platform-27/ee-supported-rhel9 +8
- RHSA-2026:87120 Released 2026-10-21 · Red Hat rating CriticalRed Hat Ansible Automation Platform 2.6 Container Release Update
- Red Hat Ansible Automation Platform 2.6 registry.redhat.io/ansible-automation-platform-26/eda-controller-rhel9, registry.redhat.io/ansible-automation-platform-26/ee-supported-rhel9, registry.redhat.io/ansible-automation-platform-26/gateway-rhel9 +8
- RHSA-2026:86891 Released 2026-10-21 · Red Hat rating CriticalRHOAI 3.5.2 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-cli-rhel9 +47
- RHSA-2026:84734 Released 2026-10-19 · Red Hat rating CriticalRHOAI 3.4.5 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-ai-gateway-payload-processing-rhel9, registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-autorag-rhel9 +47
- RHSA-2026:83121 Released 2026-10-14 · Red Hat rating ImportantRed Hat AI Inference 3.4.6 (rocm)
- Red Hat AI Inference Server 3.4 registry.redhat.io/rhaii/vllm-rocm-rhel9
- RHSA-2026:83120 Released 2026-10-14 · Red Hat rating ImportantRed Hat AI Inference 3.4.6 (cuda)
- Red Hat AI Inference Server 3.4 registry.redhat.io/rhaii/vllm-cuda-rhel9
- RHSA-2026:83116 Released 2026-10-14 · Red Hat rating ImportantRed Hat AI Inference Model Optimization Tools 3.4.6 (cuda)
- Red Hat AI Inference Server 3.4 registry.redhat.io/rhaii/model-opt-cuda-rhel9
- RHSA-2026:83114 Released 2026-10-14 · Red Hat rating ImportantRed Hat AI Inference 3.4.6 (spyre)
- Red Hat AI Inference Server 3.4 registry.redhat.io/rhaii/vllm-spyre-rhel9
- RHSA-2026:83112 Released 2026-10-14 · Red Hat rating ImportantRed Hat AI Inference 3.4.6 (cpu)
- Red Hat AI Inference Server 3.4 registry.redhat.io/rhaii/vllm-cpu-rhel9
- RHSA-2026:82371 Released 2026-10-13 · Red Hat rating CriticalRed Hat AI Inference 3.5.2 (spyre)
- Red Hat AI Inference Server 3.5 registry.redhat.io/rhaii/vllm-spyre-rhel9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Exploit Intelligence | Affected | No fix yet |
| Lightspeed Core | Affected | No fix yet |
| OpenShift Lightspeed | Affected | No fix yet |
| Red Hat AI Inference Server | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet |
| Red Hat Satellite 6 | Affected | No fix yet |
| Red Hat AI Inference Server 3.4 | Fixed | RHSA-2026:83112, RHSA-2026:83114, RHSA-2026:83116, RHSA-2026:83120, RHSA-2026:83121 |
| Red Hat AI Inference Server 3.5 | Fixed | RHSA-2026:82371 |
| Red Hat Ansible Automation Platform 2.6 | Fixed | RHSA-2026:87120 |
| Red Hat Ansible Automation Platform 2.7 | Fixed | RHSA-2026:87124 |
| Red Hat Enterprise Linux AI 3.4 | Fixed | RHSA-2026:90432, RHSA-2026:90440 |
| Red Hat OpenShift AI 2.25 | Fixed | RHSA-2026:87410 |
| Red Hat OpenShift AI 3.4 | Fixed | RHSA-2026:84734, RHSA-2026:92510 |
| Red Hat OpenShift AI 3.5 | Fixed | RHSA-2026:86891, RHSA-2026:94631 |
Not affected: 7 products
- Red Hat Ansible Automation Platform 2
- Red Hat Ansible Automation Platform 2.6
- Red Hat Ansible Automation Platform 2.7
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift AI 2.25
- Red Hat OpenShift AI 3.4
- Red Hat OpenShift AI 3.5
Timeline
- 2026-10-02 Threatist record created from CVE-2026-104851
- 2026-10-04 Priority changed: MEDIUM → LOW
- 2026-10-06 CISA SSVC decision points changed
- 2026-10-06 Priority changed: LOW → HIGH
- 2026-10-06 Alias added: GHSA-27vj-qcqg-25rc
- 2026-10-06 Fix available: PyPI/[email protected] · GHSA-27vj-qcqg-25rc
- 2026-10-06 CVSS score added · GHSA-27vj-qcqg-25rc
- 2026-10-06 Weakness changed · GHSA-27vj-qcqg-25rc
- 2026-10-06 8 new references · GHSA-27vj-qcqg-25rc
- 2026-10-06 Affected versions changed · Red Hat
- 2026-10-10 Affected versions changed · Red Hat
- 2026-10-14 Fix available: RHSA-2026:82371 · Red Hat
- 2026-10-16 Fix available: RHSA-2026:83112 · Red Hat
- 2026-10-16 Fix available: RHSA-2026:83116 · Red Hat
- 2026-10-16 Fix available: RHSA-2026:83114 · Red Hat
- 2026-10-16 Fix available: RHSA-2026:83120 · Red Hat
- 2026-10-16 Fix available: RHSA-2026:83121 · Red Hat
- 2026-10-16 Fix available: Red Hat AI Inference Server 3.4, Red Hat AI Inference Server 3.5 · Red Hat
- 2026-10-20 Fix available: RHSA-2026:84734 · Red Hat
- 2026-10-20 Fix available: Red Hat OpenShift AI 3.4 · Red Hat
- 2026-10-22 Fix available: RHSA-2026:87124 · Red Hat
- 2026-10-22 Fix available: RHSA-2026:87120 · Red Hat
- 2026-10-22 Fix available: RHSA-2026:86891 · Red Hat
- 2026-10-22 Fix available: RHSA-2026:87410 · Red Hat
- 2026-10-23 Fix available: Red Hat Ansible Automation Platform 2.6, Red Hat Ansible Automation Platform 2.7, Red Hat OpenShift AI 2.25 +1 · Red Hat
- 2026-10-29 Fix available: Red Hat Enterprise Linux AI 3.4 · Red Hat
- 2026-10-30 Fix available: RHSA-2026:90432 · Red Hat
- 2026-10-30 Fix available: RHSA-2026:90440 · Red Hat
- 2026-10-30 Fix available: RHSA-2026:92510 · Red Hat
- 2026-10-30 Affected versions changed · Red Hat
- 2026-10-30 Affected versions changed · Red Hat
- 2026-11-04 Fix available: RHSA-2026:94631 · Red Hat
- 2026-11-04 Affected versions changed · Red Hat
References
Other 7
- https://github.com/fsspec/filesystem_spec/security/advisories/GHSA-27vj-qcqg-25rc
- https://github.com/fsspec/filesystem_spec/pull/2029
- https://github.com/fsspec/filesystem_spec/pull/2039
- https://github.com/fsspec/filesystem_spec/commit/86438783f93b1398ef245b92f0e6063b445b611c
- https://github.com/fsspec/filesystem_spec/commit/a1c16ab3f07f354aa371c38f7b1b07ea7fd4c5c8
- https://github.com/fsspec/filesystem_spec/releases/tag/2026.6.0
- https://github.com/fsspec/filesystem_spec
Sources
- CVE-2026-104851 · CVE Program
- CVE-2026-104851 · NVD
- FIRST EPSS
- GHSA-27vj-qcqg-25rc · GitHub Advisory Database · CC BY 4.0
- CVE-2026-104851 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences