Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHost malicious Kerchunk reference JSON at attacker URL
-
DeliveryVictim opens ReferenceFileSystem (e.g. via xarray)
-
Exploitfsspec renders gen/template fields via jinja2
-
ExecutionPython code executes before data read
-
ImpactRemote code execution in victim process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The victim application must open or consume an fsspec ReferenceFileSystem (Kerchunk) reference document whose contents are attacker-controlled - supplied inline or fetched from an attacker-controlled URL - including indirectly through consumers like xarray. The |
| Impact | Signals are largely consistent and point to a genuine high-priority issue rather than an inflated CVSS score. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R) describes a network-reachable, low-complexity, unauthenticated code-injection flaw (CWE-94) whose only gating factor is that a victim must open or consume a reference document - a routine action in data/ML pipelines. A vendor patch is confirmed (GHSA-27vj-qcqg-25rc, fixed in 2026.6.0), and the fix commit ships a regression test that executes attacker-controlled Python via a Kerchunk |
| Exploit ScenarioDerived | A data engineer opens a Kerchunk reference dataset (directly or via a consumer such as xarray) whose JSON was supplied by an attacker inline or fetched from an attacker-controlled URL. Because fsspec renders template fields through unrestricted jinja2 before any data is read, the malicious template expression executes arbitrary Python in the victim's process the moment the reference filesystem is opened. The fix commit includes a regression test proving execution (a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 02, 2026
Opening an attacker-controlled Kerchunk reference document with fsspec's ReferenceFileSystem can execute arbitrary Python code, because versions from 0.9.0 up to (but not including) 2026.6.0 render reference fields through unrestricted jinja2 templates instead of treating them as inert data. The vulnerability is exploitable by unauthenticated attackers but requires user interaction: the victim application - or a downstream consumer such as xarray - must actually open the malicious document, which can be supplied inline or fetched from an attacker-controlled URL, and the gen-array code path triggers with no special configuration at all. Rated CVSS 8.8 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, CWE-94), it is addressed by the vendor's 2026.6.0 release, which makes jinja interpretation opt-in; no public exploit identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade fsspec (filesystem_spec) to 2026.6.0, the first release in which jinja interpretation of reference manifests is opt-in via the new simple_references/simple_templates options; the fix landed through pull requests #2029 (https://github.com/fsspec/filesystem_spec/pull/2029) and #2039 (https://github.com/fsspec/filesystem_spec/pull/2039), with commits 86438783f93b1398ef245b92f0e6063b445b611c and a1c16ab3f07f354aa371c38f7b1b07ea7fd4c5c8. After upgrading, keep the defaults - do not set simple_templates=False or simple_references=False unless the manifest is generated and validated internally, since that flag restores the dangerous jinja2.Template(...).render(...) behavior. Until the upgrade can be deployed, do not construct a ReferenceFileSystem from manifests that are attacker-supplied, fetched from untrusted URLs, or bundled with untrusted datasets; where such manifests must be processed, sandbox the consuming process (unprivileged container, no credentials, restricted egress) and validate or strip 'templates' and 'gen' sections before passing the document to fsspec - noting that stripping gen/templates breaks legitimate Kerchunk features such as virtual Zarr/Parquet aggregation, and that restricting network access alone does not protect against inline manifests. Full details are in the GitHub advisory at https://github.com/fsspec/filesystem_spec/security/advisories/GHSA-27vj-qcqg-25rc.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
fsspec implements the Kerchunk/reference-filesystem specification, in which a JSON manifest maps virtual keys to concrete storage locations and byte ranges, and may also include 'templates' and 'gen' sections that programmatically expand references. In affected code, ReferenceFileSystem evaluated the string values of these fields by calling jinja2.Template(...).render(...) inside _process_references1._render_jinja, _process_templates, and _process_gen in fsspec/implementations/reference.py. Because jinja2 exposes attribute traversal and callable access to the underlying Python runtime, a manifest authored by an attacker can embed expressions that execute arbitrary Python when the filesystem object is constructed - before any referenced dataset byte is read. The CWE-94 (Improper Control of Generation of Code / Code Injection) root cause is that untrusted reference-manifest data was treated as executable template source rather than as data, and the unsafe evaluation happened by default. The vendor fix introduces simple_references/simple_templates switches that default to the safe, non-evaluating behavior; the regression test added in PR #2029 demonstrates the difference directly, showing a gen entry containing '{{ 1 / 0 }}' being ignored by default but raising ZeroDivisionError when simple_templates=False is passed.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attacker-supplied reference document yields unauthenticated (PR:N) code execution with full C/I/A impact, but the victim must open the document (UI:R) and complexity is low (AC:L).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 8 pypi packages depend on fsspec (8 direct, 0 indirect)
Ecosystem-wide dependent count for version 0.9.0.
Articles & Coverage 1
Technical POC Analysis
Server-side template injection (CWE-94, and CWE-1336 as a second class per the advisory) in fsspec/implementations/reference.py.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
fsspec's ReferenceFileSystem library - used across data engineering, analytics, and scientific computing pipelines, often indirectly through tools such as xarray - can execute attacker-supplied Python code when a user or downstream process opens a malicious Kerchunk reference document, affecting any team that ingests data files from external or untrusted sources. The flaw requires no authentication and no special configuration; only that a victim opens the crafted document, which may be delivered inline or fetched from an attacker-controlled URL. Because successful exploitation yields full code execution with high confidentiality and integrity impact on the host running the data workload, this should be treated as a priority remediation for affected environments.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-91720
GHSA-27vj-qcqg-25rc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB