fsspec is vulnerable to Server-Side Template Injection (SSTI)
65
CVE Score
Medium
Server-Side Template Injection (SSTI)
ReferenceFileSystem renders templates, refs, and gen entries from a loaded reference set using an unsandboxed jinja2.Template engine. When an application opens a reference set that contains attacker-influenced {{ }} expressions, those expressions are evaluated with full Jinja access, allowing traversal to Python internals and arbitrary code execution. Generator (gen) entries are rendered through unsandboxed Jinja even under the default simple_templates behavior, so the unsafe path is reachable without enabling full templating. The fix renders these values with jinja2.sandbox.SandboxedEnvironment and skips Jinja generator processing when simple templates are used.
Upgrade the fsspec library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and load reference sets from untrusted sources with ReferenceFileSystem.
0.9.0 - 2026.4.0
Fixed in 2026.6.0fsspec is vulnerable to Server-Side Template Injection (SSTI) in versions 0.9.0 - 2026.4.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.