---
id: "GHSA-64q6-5qv7-cwj9"
kind: "vulnerability"
aliases: ["GHSA-64q6-5qv7-cwj9"]
title: "CVE-2026-100308 - GluonTS arbitrary command execution during model deserialization"
severity: "high"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["aws", "gluonts", "lab-disclosure", "ml-pipelines", "package", "python"]
not_affected_if: ["gluonts-at-or-above-0.17.0", "trusted-artifacts-only"]
published_at: "2026-09-29T00:00:00+00:00"
first_seen_at: "2026-10-24T18:56:54+00:00"
updated_at: "2026-10-25T05:27:52+00:00"
sources: [{"source": "lab", "url": "https://aws.amazon.com/security/security-bulletins/rss/2026-119-aws/", "first_seen_at": "2026-10-24T18:56:54+00:00"}]
---

# CVE-2026-100308 - GluonTS arbitrary command execution during model deserialization

GluonTS, an open source Python library for deep learning time series models, executes arbitrary operating system commands when a model directory is deserialized through Predictor.deserialize() or RepresentablePredictor.deserialize(). An attacker who supplies a crafted serialized model directory gets commands run with the privileges of the process that loads it.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed version with `pip show gluonts` and treat anything below `0.17.0` as affected.
- Search code for calls to `Predictor.deserialize(` or `.deserialize(` on GluonTS predictors, especially where the model directory comes from users, uploads, or external storage.

## Fix

- Upgrade GluonTS to `0.17.0` or later with `pip install --upgrade gluonts>=0.17.0`.
- Patch any forked or derivative GluonTS code to include the upstream fixes.
- Until upgraded, only deserialize model artifacts you trust.

## Timeline

- 2026-10-24T18:56:54+00:00 lab https://aws.amazon.com/security/security-bulletins/rss/2026-119-aws/ — AWS: CVE-2026-100308 - GluonTS arbitrary command execution during model deserialization

## Documents

- [advisory] AWS: CVE-2026-100308 - GluonTS arbitrary command execution during model deserialization https://aws.amazon.com/security/security-bulletins/rss/2026-119-aws/

## From the sources

CVE-2026-100308 - GluonTS arbitrary command execution during model deserialization

### CVE-2026-100308 - GluonTS arbitrary command execution during model deserialization

Bulletin ID: 2026-119-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 09/29/2026 08:00 AM PDT

Description:

GluonTS is an open source library for deep learning based time series models. We identified CVE-2026-100308 that allows arbitrary command execution upon deserialization of untrusted model artifacts.

Deserialization of untrusted data in the model loading component in Amazon GluonTS before 0.17.0 might allow context-dependent attackers to execute arbitrary operating system commands with the privileges of the loading process via a crafted serialized model directory. The issue arises whenever a user calls Predictor.deserialize() or any RepresentablePredictor.deserialize() on a model directory they do not fully control.

Impacted versions: <0.17.0

Resolution:

This issue has been addressed in GluonTS version 0.17.0. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.

Workarounds:

We recommend users to only deserialize trusted model artifacts using the library.

References:

- CVE-2026-100308
- GHSA-64q6-5qv7-cwj9

Acknowledgement:

We would like to thank Michael Holmquist (Hasp Labs) for collaborating on this issue through the coordinated vulnerability disclosure process.

 Please email aws-security@amazon.com with any security questions or concerns..

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
