Skip to main content

Amazon SageMaker Python SDK CVE-2026-8596

| EUVDEUVD-2026-30420 HIGH
Cleartext Storage of Sensitive Information (CWE-312)
2026-05-14 AMZN GHSA-7hh5-prp2-mfh5
8.5
CVSS 4.0 · Vendor: AMZN
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Compromise AWS credentials with SageMaker/S3 privileges
  2. Delivery
    Call DescribeModel API to extract HMAC key
  3. Exploit
    Craft malicious serialized model artifact
  4. Install
    Generate forged HMAC signature
  5. C2
    Upload to S3 model path
  6. Execute
    Trigger model loading in inference container
  7. Impact
    Execute arbitrary code as container runtime

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V14 - Data Protection Encrypted storage of sensitive data
Exploitation Conditions

Attacker must possess authenticated AWS credentials with two specific IAM permissions: (1) sagemaker:DescribeModel, sagemaker:DescribeEndpoint, or equivalent SageMaker describe APIs that return responses containing the HMAC key, and (2) s3:PutObject write access to the specific S3 bucket and prefix path where target model artifacts are stored. Exploitation is LIMITED by high privilege requirements (PR:H in CVSS vector) - credentials must belong to a principal with ML infrastructure administration rights, typically restricted to DevOps, MLOps, or data science teams. Attack does NOT work against default AWS account configurations where these permissions are separated. Additional limiting factor: attacker must identify valid model artifact paths in use by target inference endpoints, requiring reconnaissance of SageMaker endpoint configurations. User interaction not required (UI:N). Exploitation realistic only in scenarios where credential compromise affects privileged ML platform roles, such as compromised CI/CD pipelines with SageMaker deployment permissions or insider threats from ML engineering teams.

Impact

CVSS 4.0 score of 8.5 reflects high confidentiality and integrity impact with changed scope (VC:H/VI:N/SC:H/SI:H/SA:H), indicating post-exploitation access beyond the vulnerable SDK component. However, real-world risk is constrained by stringent prerequisites: PR:H (high privileges required) means attackers need authenticated AWS credentials with both SageMaker describe API permissions AND S3 write access to model artifact storage paths - a combination typically restricted to ML engineers and DevOps roles, not broad user populations. Attack vector is network-based (AV:N) with low complexity (AC:L), but the privilege barrier significantly reduces the attack surface compared to public-facing vulnerabilities. No CISA KEV listing indicates no confirmed widespread exploitation. EPSS score unavailable but likely low given the narrow attack surface and recent disclosure. SSVC framework assessment: exploitation status unconfirmed, not automatable due to high privilege requirements, technical impact of total system compromise within inference infrastructure. Priority depends on organizational use of SageMaker ModelBuilder - critical for AWS ML production environments, lower priority for organizations not using affected SDK features. The changed scope metric is significant: successful exploitation grants access to inference container runtime, potentially exposing customer inference data and enabling lateral movement within SageMaker infrastructure.

Exploit ScenarioDerived

An attacker with compromised AWS credentials for an ML engineer role calls SageMaker DescribeModel API and extracts the cleartext HMAC signing key from the response. They craft a malicious model artifact containing serialized Python code designed to exfiltrate inference data or establish persistence, compute a valid HMAC signature using the stolen key, and upload the forged artifact to the S3 model path with legitimate write permissions. When SageMaker loads the model into an inference container, the forged signature passes validation and the malicious payload executes with container runtime privileges, granting code execution in the inference environment.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 14, 2026

Cleartext HMAC signing key exposure in Amazon SageMaker Python SDK versions <2.257.2 and <3.8.0 enables authenticated attackers with SageMaker describe API and S3 write permissions to forge model artifact integrity signatures and achieve remote code execution in inference containers. AWS released patches in v2.257.2 and v3.8.0 with security fixes addressing Triton HMAC key exposure and missing integrity checks. EPSS data not available; no CISA KEV listing or public POC identified at time of analysis, suggesting limited exploitation activity despite high CVSS score.

RemediationAI

Upgrade Amazon SageMaker Python SDK to version 2.257.2 (for v2.x users) or version 3.8.0 (for v3.x users) immediately. Official patch releases available at https://github.com/aws/sagemaker-python-sdk/releases/tag/v2.257.2 and https://github.com/aws/sagemaker-python-sdk/releases/tag/v3.8.0. CRITICAL: Upgrading the SDK alone is insufficient - AWS explicitly recommends rebuilding ALL models previously created with ModelBuilder using the updated SDK versions, as existing model artifacts may have been created with exposed HMAC keys and lack proper integrity validation. Compensating controls if immediate upgrade is not feasible: implement strict IAM policies to revoke SageMaker DescribeModel/DescribeEndpoint permissions from non-essential principals (reduces attacker pool), enable S3 bucket versioning and object lock on model artifact storage paths to detect unauthorized modifications (creates audit trail but does not prevent exploitation), restrict S3 write permissions to model artifact buckets using least-privilege SCPs and bucket policies (raises attack complexity). Trade-offs: IAM restrictions may disrupt legitimate ML workflows requiring describe access; S3 controls add operational overhead for model deployment pipelines. These mitigations only reduce attack surface and do not eliminate the underlying cryptographic key exposure - upgrading and rebuilding models remains the only complete remediation.

Affected VersionsENISA

AWS 3.0.0 ≤3.7.1
AWS 2.199.0 ≤2.257.1

Affected Packages

pypi sagemaker fix: 2.257.2, 3.8.0
euvd aws no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability affects the ModelBuilder/Serve component in Amazon SageMaker Python SDK (CWE-312: Cleartext Storage of Sensitive Information). SageMaker uses HMAC (Hash-based Message Authentication Code) signing to validate the integrity of model artifacts before loading them into inference containers. The SDK improperly exposed the HMAC signing key in cleartext within SageMaker API responses when calling describe operations. This cryptographic key material should be protected as sensitive data. When compromised, attackers can forge valid HMAC signatures for malicious model artifacts, bypassing integrity validation. Model artifacts in SageMaker are serialized Python objects (typically pickled) that execute upon deserialization in inference containers, making signature forgery equivalent to arbitrary code execution. The fix in v2.257.2/v3.8.0 addresses both the key exposure and adds missing integrity checks per GitHub release notes referencing 'Triton HMAC key exposure and missing integrity check' remediation.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (AMZN) PRIMARY 8.5 HIGH
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

Primary rating from Vendor (AMZN) · only source for this CVE.

CVSS VectorVendor: AMZN

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
CVSS changed
May 14, 2026 - 20:22 NVD
7.2 (HIGH) 8.5 (HIGH)
CVE Published
May 14, 2026 - 19:35 nvd
HIGH 8.5

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Amazon SageMaker Python SDK versions prior to 2.257.2 and 3.8.0 expose HMAC signing keys in cleartext, allowing authenticated users with specific API and S3 permissions to forge model signatures and execute arbitrary code within inference containers. Organizations using SageMaker for model deployment face direct risk to model integrity and potential data exfiltration or lateral movement through compromised inference endpoints.

Business Impact: High
Compensating Controls

Apply vendor patch. Prior to patching: restrict SageMaker API describe permissions and S3 write access to inference artifact buckets; enable S3 Object Lock or versioning to prevent unauthorized model artifact modification; monitor CloudTrail logs for suspicious SageMaker API calls and S3 operations by restricted users.

Threat Intelligence Overview

EPSS Score
0.2%
Top 63% exploitable
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy