---
id: CVE-2026-8596
title: >-
  Cleartext storage of HMAC signing key in Amazon SageMaker Python SDK
  ModelBuilder/Serve path
summary: >-
  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 AP…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-312
vendor: AWS
product: Amazon SageMaker Python SDK
affected:
  - amazon_sagemaker_python_sdk >= 2.199.0 <= 2.257.1
  - amazon_sagemaker_python_sdk >= 3.0.0 <= 3.7.1
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-05-15T00:00:00+00:00'
published: '2026-05-14'
updated: '2026-10-20'
sourceUpdated: '2026-10-20T18:20:47.611Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-8596'
references:
  - url: 'https://github.com/aws/sagemaker-python-sdk/releases/tag/v2.257.2'
  - url: 'https://github.com/aws/sagemaker-python-sdk/releases/tag/v3.8.0'
  - url: 'https://aws.amazon.com/security/security-bulletins/2026-031-aws/'
  - url: >-
      https://github.com/aws/sagemaker-python-sdk/security/advisories/GHSA-7hh5-prp2-mfh5
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-8596'
  - url: 'https://aws.amazon.com/security/security-bulletins/2026-031-aws'
  - url: 'https://github.com/aws/sagemaker-python-sdk'
tags:
  - cve.org
  - osv
  - pip
epss: 0.00607
epssPercentile: 0.48812
aliases:
  - GHSA-7hh5-prp2-mfh5
  - PYSEC-2026-3059
ecosystem: pip
patched:
  - sagemaker 2.257.2
  - sagemaker 3.8.0
ingestedAt: '2026-07-13T18:57:54.527Z'
---

## Overview

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

- `amazon_sagemaker_python_sdk >= 2.199.0 <= 2.257.1`
- `amazon_sagemaker_python_sdk >= 3.0.0 <= 3.7.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-8596)

Affected packages:

- `sagemaker >= 2.199.0, < 2.257.2`
- `sagemaker >= 3.0.0, < 3.8.0`

Patched in:

- `sagemaker 2.257.2`
- `sagemaker 3.8.0`

Source: https://osv.dev/vulnerability/GHSA-7hh5-prp2-mfh5
