cve.bz

CVE-2026-104851 fsspec filesystem spec: Code Injection

8.8 highEPSS 0.5%Fix available

High (8.8) in fsspec filesystem spec. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in fsspec 2026.6.0.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-10-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-94 Improper Control of Generation of Code (Code Injection)
CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-104851 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-104851?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-104851?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-104851 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
fsspec filesystem_spec>= 0.9.0, < 2026.6.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-27vj-qcqg-25rcPyPIfsspec>=0.9.0 <2026.6.02026.6.0
PYSEC-2026-4217PyPIfsspec>=0.9.0 <2026.6.02026.6.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13fsspecno fix listedDEBIAN-CVE-2026-104851
Debian14fsspec2026.9.0-1DEBIAN-CVE-2026-104851
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 2 morefsspecno fix listedUBUNTU-CVE-2026-104851
openSUSELeap 16.0python-fsspec2024.3.1-bp160.2.1openSUSE-SU-2026:22028-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as an Important severity flaw because an attacker could achieve arbitrary code execution within the application environment, though exploitation requires tricking a user or pipeline into opening an untrusted reference catalog. In typical Red Hat deployments such as Red Hat OpenShift AI (RHOAI), fsspec is utilized for data manipulation and storage abstraction across containerized workloads. The impact is limited to the privileges of the running container or application process without granting immediate host-level access, which aligns the risk with an Important rather than a Critical rating.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat AI Inference Server 3.2rhaiis/vllm-rocm-rhel9:1793961846Fixed 2026-11-09RHSA-2026:96400
Red Hat AI Inference Server 3.2rhaiis/model-opt-cuda-rhel9:1793962303Fixed 2026-11-09RHSA-2026:96403
Red Hat AI Inference Server 3.2rhaiis/vllm-cuda-rhel9:1793961309Fixed 2026-11-09RHSA-2026:96406
Red Hat AI Inference Server 3.4rhaii/vllm-cpu-rhel9:1791857301Fixed 2026-10-14RHSA-2026:83112
Red Hat AI Inference Server 3.4rhaii/vllm-spyre-rhel9:1791858592Fixed 2026-10-14RHSA-2026:83114
Red Hat AI Inference Server 3.4rhaii/model-opt-cuda-rhel9:1791857110Fixed 2026-10-14RHSA-2026:83116
Red Hat AI Inference Server 3.4rhaii/vllm-cuda-rhel9:1791857183Fixed 2026-10-14RHSA-2026:83120
Red Hat AI Inference Server 3.4rhaii/vllm-rocm-rhel9:1791856725Fixed 2026-10-14RHSA-2026:83121
Red Hat AI Inference Server 3.5rhaii/vllm-spyre-rhel9:1791818357Fixed 2026-10-13RHSA-2026:82371
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/lightspeed-chatbot-rhel9:1791978798Fixed 2026-10-21RHSA-2026:87120
Exploit Intelligenceexploit-intelligence/vulnerability-analysis-rhel9Affected
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cpu-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cuda-12.9-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-cpu-rhel9Will not fix
Red Hat AI Inference Serverrhaiis/vllm-neuron-rhel9Will not fix
93 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-104851.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON