Cleartext Storage of Sensitive Information Affecting sagemaker package, versions [2.199.0,2.257.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-SAGEMAKER-16795361
  • published22 May 2026
  • disclosed21 May 2026
  • creditUnknown

Introduced: 21 May 2026

CVE-2026-8596  (opens in a new tab)
CWE-312  (opens in a new tab)

How to fix?

Upgrade sagemaker to version 2.257.2 or higher.

Overview

sagemaker is an Open source library for training and deploying models on Amazon SageMaker.

Affected versions of this package are vulnerable to Cleartext Storage of Sensitive Information in the ModelBuilder/Serve component. An attacker can extract sensitive HMAC signing keys by accessing the SageMaker describe APIs and, with sufficient permissions, forge valid integrity signatures for malicious model artifacts, potentially leading to code execution in inference containers with elevated IAM permissions. This is only exploitable if the attacker has permissions to call the describe APIs and S3 write access to the model artifact path.

Workaround

This vulnerability can be mitigated by manually removing the SAGEMAKER_SERVE_SECRET_KEY environment variable from existing SageMaker models by recreating the model without this variable in the container environment configuration.

CVSS Base Scores

version 4.0
version 3.1