CVE-2026-8597 Missing integrity verification in Triton inference handler in Amazon SageMaker Python SDK
An authenticated attacker with S3 write access can achieve code execution in inference containers by replacing model artifacts with malicious pickle payloads.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-8597?
CVE-2026-8597 is a medium-severity unsafe deserialization vulnerability in AWS Amazon SageMaker Python SDK, published on 14 May 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Missing integrity verification in the Triton inference handler in Amazon SageMaker Python SDK v2 before v2.257.2 and v3 before v3.8.0 might allow a remote authenticated actor to achieve code execution in inference containers via replacement of model artifacts in S3 with a specially crafted pickle payload that is deserialized without verification. This issue requires a remote authenticated actor with S3 write access to the model artifact path.
To remediate this issue, we recommend upgrading to Amazon SageMaker Python SDK v2.257.2 or v3.8.0 and rebuild any Triton models previously created with ModelBuilder using the updated SDK.
Weakness: CWE-354
Which versions are affected by CVE-2026-8597?
5 open source packages ship an affected version, including sagemaker.
| Package | Affected | Fixed in |
|---|---|---|
sagemaker PyPI | From 2.199.0 | 2.257.2, 3.8.0 |
sagemaker PyPI | From 2.199.0 | 2.257.2 |
sagemaker PyPI | From 2.199.0 | 2.257.2 |
sagemaker PyPI | From 3.0.0 | 3.8.0 |
sagemaker PyPI | From 3.0.0 | 3.8.0 |
How do I fix CVE-2026-8597?
Upgrade sagemaker to a fixed version for your release line: 2.257.2 or 3.8.0.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2026-8597 being exploited?
There is no known exploitation of CVE-2026-8597 in the wild and no public exploit code.
Sources
Also known as GHSA-rq6v-x3j8-7qgf, PYSEC-2026-3060.