Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCompromise AWS credentials with SageMaker/S3 privileges
-
DeliveryCall DescribeModel API to extract HMAC key
-
ExploitCraft malicious serialized model artifact
-
InstallGenerate forged HMAC signature
-
C2Upload to S3 model path
-
ExecuteTrigger model loading in inference container
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
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
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-30420
GHSA-7hh5-prp2-mfh5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB