AWS Amazon SageMaker Python SDK
Cleartext storage of HMAC signing key in Amazon SageMaker Python SDK ModelBuilder/Serve path
Cleartext storage of sensitive information in the ModelBuilder/Serve component in Amazon SageMaker Python SDK before v2.257.2 and v3 before v3.8.0 might allow a remote authenticated actor to extract the HMAC signing key from SageMaker API responses and forge valid integrity signatures for specially crafted model artifacts, achieving code execution in inference containers. This issue requires a remote authenticated actor with permissions to call SageMaker describe APIs and 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 models previously created with ModelBuilder using the updated SDK.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 2.199.0, <= 2.257.1
- >= 3.0.0, <= 3.7.1
- >= 2.199.0, < 2.257.2
Fixed in 2.257.2
from GitHub Security Advisory GHSA-7hh5-prp2-mfh5
Mitigation
Upgrade sagemaker to 2.257.2 or later.
Upgrade sagemaker to 3.8.0 or later.
References
- Patch github.com/aws/sagemaker-python-sdk/releases/t…
- Patch github.com/aws/sagemaker-python-sdk/releases/t…
- Vendor advisory aws.amazon.com/security/security-bulletins/2026-03…
1 more
- Vendor advisory github.com/aws/sagemaker-python-sdk/security/a…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.