REDHAT-BUG-2545294: High severity pypi/fsspec vulnerability

Published Oct 2, 2026
·
Updated

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 processreferences1.renderjinja, processtemplates, and processgen 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 processgen 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.

Affected Software

1 affected component
pypi/fsspec>=0.9.0<2026.6.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade fsspec to a version that resolves this vulnerability.

    Fixed in 2026.6.0

Event History

Oct 2, 2026
Data Sourced
via Red Hat·04:52 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Applications that open Kerchunk reference JSON documents with fsspec's ReferenceFileSystem are exposed when those documents are supplied inline or retrieved from attacker-controlled URLs. Consumers such as xarray can trigger processing before any referenced data is read.

2

What must an attacker control to exploit it?

An attacker needs to provide or influence a Kerchunk reference JSON document processed by ReferenceFileSystem. Template expressions in that document can execute Python code during filesystem opening; a gen array reaches the affected _process_gen path, while other paths depend on template-related options and values.

3

Are all affected reference documents equally dependent on template configuration?

No. A document containing a gen array reaches the affected _process_gen path whenever it is processed. The _render_jinja and _process_templates paths depend on template-related options and values.

4

What version fixes the issue?

The issue is fixed in fsspec version 2026.6.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203