# CVE-2026-8596: Cleartext storage of HMAC signing key in Amazon SageMaker Python SDK ModelBuilder/Serve path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.5
- **CVSS:** 8.5 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: High; User interaction: None; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.80% (percentile 53, 2026-11-26)
- **CWE:** CWE-312
- **Aliases:** GHSA-7hh5-prp2-mfh5, PYSEC-2026-3059
- **Published:** 2026-05-14T19:35:51.421Z
- **Modified:** 2026-10-26T14:10:00.130Z

## Who should check

- Projects that depend on PyPI package sagemaker (\>= 2.199.0, \< 2.257.2)
- Anyone running AWS Amazon SageMaker Python SDK \>= 2.199.0, \<= 2.257.1; \>= 3.0.0, \<= 3.7.1

## Description

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 and fixed versions

- PyPI `sagemaker`: affected \>= 2.199.0, \< 2.257.2; fixed 2.257.2, 3.8.0 (osv)
- AWS Amazon SageMaker Python SDK: \>= 2.199.0, \<= 2.257.1; \>= 3.0.0, \<= 3.7.1 (cvelist)

## Mitigation

- Upgrade sagemaker to one of 2.257.2, 3.8.0 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-8596. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-8596.md
Affected: sagemaker >= 2.199.0, < 2.257.2
Fixed in: 2.257.2, 3.8.0

Steps:
1. Search this machine and project for sagemaker (PyPI), AWS Amazon SageMaker Python SDK: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-8596 being exploited?

There is no confirmed exploitation: CVE-2026-8596 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-8596?

High: CVSS 8.5 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-8596?

sagemaker \>= 2.199.0, \< 2.257.2.

### Is there a fix for CVE-2026-8596?

Yes. Fixed in 2.257.2, 3.8.0. Upgrade sagemaker to one of 2.257.2, 3.8.0 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-8596?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://aws.amazon.com/security/security-bulletins/2026-031-aws/>
- vendor: <https://github.com/aws/sagemaker-python-sdk/security/advisories/GHSA-7hh5-prp2-mfh5>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-8596>
- vendor: <https://github.com/advisories/GHSA-7hh5-prp2-mfh5>
- patch: <https://github.com/aws/sagemaker-python-sdk/releases/tag/v2.257.2>
- patch: <https://github.com/aws/sagemaker-python-sdk/releases/tag/v3.8.0>
- other: <https://aws.amazon.com/security/security-bulletins/2026-031-aws>
- other: <https://github.com/aws/sagemaker-python-sdk>
- other: <https://pypi.org/project/sagemaker>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-8596>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-7hh5-prp2-mfh5> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-3059> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-8596> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-8596>
