GHSA-7hh5-prp2-mfh5: Cleartext storage of HMAC signing key in Amazon SageMaker Python SDK ModelBuilder/Serve path
- Identifiers
- CVE-2026-8596GHSA-7hh5-prp2-mfh5
- Published
- Record updated
- Affected
- sagemaker >= 3.0.0, <= 3.7.1, fixed in 3.8.0, released April 16, 2026, 35 days before disclosure
- sagemaker >= 2.199.0, <= 2.257.1, fixed in 2.257.2, released April 20, 2026, 31 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.8%
Summary
Under certain circumstances, the ModelBuilder/Serve component of Amazon SageMaker Python SDK stores an HMAC signing key in cleartext as the SAGEMAKER_SERVE_SECRET_KEY container environment variable. The DescribeModel, DescribeEndpointConfig, and DescribeModelPackage APIs return this variable in plaintext. A remote authenticated actor with describe permissions and S3 write access to the model artifact path could extract the key, forge integrity signatures for crafted model artifacts, and achieve code execution in inference containers with the SageMaker execution role's IAM permissions. Affected versions are >= v2.199.0 through <= v2.257.1, and >= v3.0.0 through <= v3.7.1.
Mitigation
Upgrade to Amazon SageMaker Python SDK v2.257.2 or v3.8.0 and rebuild any models previously created with ModelBuilder, since models built with affected versions may still hold the HMAC key in their container environment variables. Patch any forked or derivative code. If upgrading is not immediately possible, manually remove the SAGEMAKER_SERVE_SECRET_KEY environment variable by recreating the model without it in the container environment configuration.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- sagemakerPyPIReaches an LLM package through dependencies · 3 tracked dependents
Related items
- HighCVE-2026-136267 - Improper neutralization of special elements used in an OS command in Kiro WebSame vendor · AWS Security Bulletins
- HighCVE-2026-135614 - Sensitive data redaction bypass in the troubleshooting tool in Amazon ECS MCP ServerSame vendor · AWS Security Bulletins
- HighCVE-2026-126681 - Improper restriction of intended endpoints in AWS Labs Timestream for InfluxDB MCP ServerSame vendor · AWS Security Bulletins
- HighCVE-2026-126816 - Path traversal and arbitrary file write in the cost report generator of aws-pricing-mcp-serverSame vendor · AWS Security Bulletins
- HighCVE-2026-125271 - AWS API MCP Server Security Policy Bypass via Incorrect Operation Name NormalizationSame vendor · AWS Security Bulletins