GHSA-rq6v-x3j8-7qgf

Suggest an improvement
Source
https://github.com/advisories/GHSA-rq6v-x3j8-7qgf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-rq6v-x3j8-7qgf/GHSA-rq6v-x3j8-7qgf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rq6v-x3j8-7qgf
Aliases
  • CVE-2026-8597
Published
2026-05-21T17:56:39Z
Modified
2026-05-21T18:00:09.131968672Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 6.4 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H CVSS Calculator
Summary
Amazon SageMaker Python SDK is missing integrity verification in its Triton inference handler
Details

Summary

Amazon SageMaker Python SDK is an open-source library for training and deploying machine learning models on Amazon SageMaker. An issue exists where, under certain circumstances, the Triton inference handler deserializes model artifacts without performing integrity verification, allowing specially crafted pickle payloads to execute arbitrary code.

Impact

When using ModelBuilder with the Triton inference server, the Triton handler did not perform integrity verification before deserializing model artifacts. A remote authenticated actor with S3 write access to the model artifact path could replace model files with a crafted payload that would execute automatically on the next container lifecycle event, achieving code execution with the SageMaker execution role's IAM permissions.

Impacted versions: >= v2.199.0 AND <= v2.257.1, >= v3.0.0 AND <= v3.7.1

Patches

This issue has been addressed in Amazon SageMaker Python SDK v2.257.2 and v3.8.0. The Triton inference handler now performs integrity verification before deserializing model artifacts. AWS recommend upgrading to the latest version and rebuilding any Triton models previously created with ModelBuilder using the updated SDK. Ensure any forked or derivative code is patched to incorporate the new fixes.

Workarounds

If upgrading is not immediately possible, users should restrict S3 write access to model artifact paths to only trusted principals and monitor for unintended modifications to files in model artifact S3 locations.

References

If there any questions or comments about this advisory, contact AWS Security via vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.

Database specific
{
    "cwe_ids": [
        "CWE-354"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-21T17:56:39Z",
    "nvd_published_at": "2026-05-14T20:17:21Z",
    "severity": "MODERATE"
}
References

Affected packages

PyPI / sagemaker

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.199.0
Fixed
2.257.2

Affected versions

2.*
2.199.0
2.200.0
2.200.1
2.201.0
2.202.0
2.202.1
2.203.0
2.203.1
2.204.0
2.205.0
2.206.0
2.207.0
2.207.1
2.208.0
2.209.0
2.210.0
2.211.0
2.212.0
2.213.0
2.214.0
2.214.1
2.214.2
2.214.3
2.215.0
2.216.0
2.216.1
2.217.0
2.218.0
2.218.1
2.219.0
2.220.0
2.221.0
2.221.1
2.222.0
2.222.1
2.223.0
2.224.0
2.224.1
2.224.2
2.224.3
2.224.4
2.225.0
2.226.0
2.226.1
2.227.0
2.228.0
2.229.0
2.230.0
2.231.0
2.232.0
2.232.1
2.232.2
2.232.3
2.233.0
2.234.0
2.235.0
2.235.1
2.235.2
2.236.0
2.237.0
2.237.1
2.237.3
2.238.0
2.239.0
2.239.1
2.239.2
2.239.3
2.240.0
2.241.0
2.242.0
2.243.0
2.243.1
2.243.2
2.243.3
2.243.4
2.244.0
2.244.1
2.244.2
2.245.0
2.246.0
2.247.0
2.247.1
2.248.0
2.248.1
2.248.2
2.249.0
2.250.0
2.251.0
2.251.1
2.251.2.dev0
2.252.0
2.253.0
2.253.1
2.254.0
2.254.1
2.254.2.dev0
2.255.0
2.256.0
2.256.1
2.257.0
2.257.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-rq6v-x3j8-7qgf/GHSA-rq6v-x3j8-7qgf.json"
last_known_affected_version_range
"<= 2.257.1"

PyPI / sagemaker

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
3.8.0

Affected versions

3.*
3.0
3.0.1
3.1.0
3.1.1
3.2.0
3.3.0
3.3.1
3.4.0
3.4.1
3.5.0
3.6.0
3.7.0
3.7.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-rq6v-x3j8-7qgf/GHSA-rq6v-x3j8-7qgf.json"
last_known_affected_version_range
"<= 3.7.1"