Intel

AIKIDO-2026-159223

gluonts is vulnerable to Insecure Deserialization

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 6, 2026
August 6, 2026

78

CVE Score

High

Insecure Deserialization

Are you affected? Scan for Free

TL;DR

The gluonts.core.serde module deserializes objects by locating a class from a fully qualified name in the payload and instantiating it. The decode function only rejects a small denylist of builtins (eval, exec, compile, open, input), so a crafted serialized document can name any other importable callable, such as subprocess.run, and have it invoked with attacker-supplied arguments. Loading an untrusted serialized model or predictor through APIs such as Predictor.deserialize therefore results in arbitrary code execution. The fix replaces the denylist with an allowlist that only instantiates types encode is known to produce and rejects any other class.

How do I fix this?

Upgrade the gluonts library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you deserialize a gluonts model or predictor from an untrusted or externally influenced source.

Package

Versions

0.1.2 - 0.16.3

Fixed in 0.17.0

Background info

gluonts is vulnerable to Insecure Deserialization in versions 0.1.2 - 0.16.3.

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea