Skip to content

← Public intelligence

PyPI package

sagemaker

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

8 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.4PyPIAmendedPublished

    Amazon SageMaker Python SDK is missing integrity verification in its Triton inference handler

    CVE-2026-8597 · GHSA-rq6v-x3j8-7qgf

    Affected
    • PyPI sagemaker >= 2.199.0, <= 2.257.1; >= 3.0.0, <= 3.7.1
    Fixed in
    2.257.23.8.0· Vendor fix available
    Issue
    Amazon SageMaker Python SDK is an open-source library for training and deploying machine learning models on Amazon SageMaker. An issue exists where, under certain circumstances, the Triton inference handler deserializes model artifacts without performing integrity verification, allowing specially crafted pickle payloads to execute arbitrary code. Impact When using ModelBuilder with the Triton inference server, the Triton handler did not perform integrity verification before deserializing model artifacts. A remote authenticated actor with S3 write access to the model artifact path could replace model files with a crafted payload that would execute automatically on the next container lifecycle event, achieving code execution with the SageMaker execution role's IAM permissions. Impacted versions: = v2.199.0 AND <= v2.257.1, = v3.0.0 AND <= v3.7.1 Patches This issue has been addressed in Amazon SageMaker Python SDK v2.257.2 and v3.8.0. The Triton inference handler now performs…

    Recommended action: Upgrade to 3.8.0 or 2.257.2 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. High, CVSS 8.5PyPIAmendedPublished

    Cleartext storage of HMAC signing key in Amazon SageMaker Python SDK ModelBuilder/Serve path

    CVE-2026-8596 · GHSA-7hh5-prp2-mfh5

    Affected
    • PyPI sagemaker >= 2.199.0, <= 2.257.1; >= 3.0.0, <= 3.7.1
    Fixed in
    2.257.23.8.0· Vendor fix available
    Issue
    Amazon SageMaker Python SDK is an open-source library for training and deploying machine learning models on Amazon SageMaker. An issue exists where, under certain circumstances, the ModelBuilder/Serve component stores an HMAC signing key in cleartext as a container environment variable, which is returned in plaintext by SageMaker describe APIs. Impact When using ModelBuilder to build and deploy models with affected model servers (TorchServe, Multi-Model Server, TensorFlow Serving, SMD, or Triton), the SDK generates an HMAC secret key for model artifact integrity verification and stores it as the SAGEMAKERSERVESECRETKEY environment variable in the SageMaker model container configuration. This environment variable is returned in plaintext by the DescribeModel, DescribeEndpointConfig, and DescribeModelPackage APIs. A remote authenticated actor with permissions to call these describe APIs and S3 write access to the model artifact path could extract the key, forge valid integrity…

    Recommended action: Upgrade to 3.8.0 or 2.257.2 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. High, CVSS 8.4PyPIAmendedPublished

    SageMaker Python SDK replaced eval() with safe parser in JumpStart search functionality

    GHSA-5r2p-pjr8-7fh7

    Affected
    • PyPI sagemaker >= 3.0.0, < 3.4.0
    Fixed in
    3.4.0· Vendor fix available
    Issue
    This advisory addresses the use of the searchhub() function within the SageMaker Python SDK's JumpStart search functionality. An actor with the ability to control query parameters passed to the searchhub() function could potentially provide malformed input that causes the eval() function to execute arbitrary commands, access sensitive data, or compromise the execution environment. A defense-in-depth enhancement has been implemented to replace code evaluation with safe string operations when processing search query parameters. This enhancement removes the use of eval() from the execution path, replacing it with a safe recursive descent parser. The change was released in SageMaker Python SDK version 3.4.0 on January 23, 2026. This advisory is informational to help customers understand their responsibilities regarding input validation and configuration security under the AWS Shared Responsibility Model. Impact Customer applications that pass unsanitized or untrusted input…

    Recommended action: Upgrade to 3.4.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. High, CVSS 8.7PyPIAmendedPublished

    SageMaker Python SDK has Exposed HMAC

    CVE-2026-1777 · GHSA-rjrp-m2jw-pv9c

    Affected
    • PyPI sagemaker >= 3.0, < 3.2.0; < 2.256.0
    Fixed in
    3.2.02.256.0· Vendor fix available
    Issue
    SageMaker Python SDK is an open source library for training and deploying machine learning models on Amazon SageMaker. An issue where the HMAC secret key is stored in environment variables and disclosed via the DescribeTrainingJob API has been identified. Impact - Function and Payload Tampering: Attackers with DescribeTrainingJob permissions may extract HMAC secret keys and forge serialized function payloads stored in S3. These tampered payloads would be processed and executed without triggering integrity validation errors, enabling unintended code substitution. - Arbitrary Code Execution in the Training Environment: An third party with both DescribeTrainingJob permissions and write access to the job's S3 output location can extract the HMAC key, craft inappropriate Python objects, and achieve remote code execution in the client's Python process when the victim retrieves remote function results. - Data and Credentials Handling: Arbitrary remote code execution may interact…

    Recommended action: Upgrade to 3.2.0 or 2.256.0 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. High, CVSS 8.7PyPIAmendedPublished

    SageMaker Python SDK has Insecure TLS Configuration

    CVE-2026-1778 · GHSA-62rc-f4v9-h543

    Affected
    • PyPI sagemaker >= 3.0, < 3.1.1; < 2.256.0
    Fixed in
    3.1.12.256.0· Vendor fix available
    Issue
    SageMaker Python SDK is an open source library for training and deploying machine learning models on Amazon SageMaker. An issue where SSL certificate verification was globally disabled in the Triton Python backend has been found. Impact Arbitrary Code Execution: Disabling SSL verification allows third parties to intercept HTTPS traffic and replace models or dependencies with inappropriate versions. This could lead to remote code execution in the Triton container. Impacted versions - SageMaker Python SDK v3 < v3.1.1 - SageMaker Python SDK v2 < v2.256.0 Patches This issue has been addressed in SageMaker Python SDK version v3.1.1 and v2.256.0. It is recommended to upgrade to the latest version immediately and ensure any forked or derivative code is patched to incorporate the new fixes. Workarounds Customers using self-signed certificates for internal model downloads should add their private Certificate Authority (CA) certificate to the container image rather than relying on the…

    Recommended action: Upgrade to 3.1.1 or 2.256.0 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  6. Medium, CVSS 5.9PyPIAmendedPublished

    SageMaker Workflow component allows possibility of MD5 hash collisions

    CVE-2025-0508 · GHSA-32g6-mg92-ghm2

    Affected
    • PyPI sagemaker < 2.237.3
    Fixed in
    2.237.3· Vendor fix available
    Issue
    A vulnerability in the SageMaker Workflow component of aws/sagemaker-python-sdk allows for the possibility of MD5 hash collisions in all versions. This can lead to workflows being inadvertently replaced due to the reuse of results from different configurations that produce the same MD5 hash. This issue can cause integrity problems within the pipeline, potentially leading to erroneous processing outcomes.

    Recommended action: Upgrade to 2.237.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  7. High, CVSS 7.8PyPIAmendedPublished

    sagemaker-python-sdk Command Injection vulnerability

    CVE-2024-34073 · GHSA-7pc3-pr3q-58vg

    Affected
    • PyPI sagemaker < 2.214.3
    Fixed in
    2.214.3· Vendor fix available
    Issue
    Impact The capturedependencies function in sagemaker.serve.saveretrive.version100.save.utils module before version 2.214.3 allows for potentially unsafe Operating System (OS) Command Injection if inappropriate command is passed as the “requirementspath” parameter. This consequently may allow an unprivileged third party to cause remote code execution, denial of service, affecting both confidentiality and integrity. Impacted versions: <2.214.3 Credit We would like to thank HiddenLayer for collaborating on this issue through the coordinated vulnerability disclosure process. Workarounds Do not override the “requirementspath” parameter of capturedependencies function in sagemaker.serve.saveretrive.version100.save.utils, instead use the default value. References If you have any questions or comments about this advisory we ask that you contact AWS/Amazon Security via our vulnerability reporting page [1] or directly via email to aws-security@amazon.com. Please do not create a public GitHub…

    Recommended action: Upgrade to 2.214.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  8. High, CVSS 7.8PyPIAmendedPublished

    sagemaker-python-sdk vulnerable to Deserialization of Untrusted Data

    CVE-2024-34072 · GHSA-wjvx-jhpj-r54r

    Affected
    • PyPI sagemaker < 2.218.0
    Fixed in
    2.218.0· Vendor fix available
    Issue
    Impact sagemaker.basedeserializers.NumpyDeserializer module before v2.218.0 allows potentially unsafe deserialization when untrusted data is passed as pickled object arrays. This consequently may allow an unprivileged third party to cause remote code execution, denial of service, affecting both confidentiality and integrity. Impacted versions: <2.218.0. Credit We would like to thank HiddenLayer for collaborating on this issue through the coordinated vulnerability disclosure process. Workarounds Do not pass pickled numpy object arrays which originated from an untrusted source, or that could have been tampered with. Only pass pickled numpy object arrays from sources you trust. References If you have any questions or comments about this advisory we ask that you contact AWS/Amazon Security via our vulnerability reporting page [1] or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue. [1] Vulnerability reporting page:…

    Recommended action: Upgrade to 2.218.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →