VYPR
Medium severity5.9OSV Advisory· Published Feb 2, 2026· Updated Apr 15, 2026

CVE-2026-1778

CVE-2026-1778

Description

Amazon SageMaker Python SDK before v3.1.1 or v2.256.0 disables TLS certificate verification for HTTPS connections made by the service when a Triton Python model is imported, incorrectly allowing for requests with invalid and self-signed certificates to succeed.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
sagemakerPyPI
>= 3.0, < 3.1.13.1.1
sagemakerPyPI
< 2.256.02.256.0

Affected products

1

Patches

2
5e7a3efa7bec

ft: Remove insecure SSL context creation in Triton Python backend (#5372)

https://github.com/aws/sagemaker-python-sdkPravali UppugunduriDec 10, 2025via ghsa
1 file changed · +0 5
  • sagemaker-serve/src/sagemaker/serve/model_server/triton/model.py+0 5 modified
    @@ -3,7 +3,6 @@
     from __future__ import absolute_import
     import os
     import logging
    -import ssl
     from pathlib import Path
     import platform
     
    @@ -13,10 +12,6 @@
     
     logger = logging.getLogger(__name__)
     
    -# Otherwise it will complain SSL: CERTIFICATE_VERIFY_FAILED
    -# When trying to download models from torchvision
    -ssl._create_default_https_context = ssl._create_unverified_context
    -
     TRITON_MODEL_DIR = os.getenv("TRITON_MODEL_DIR")
     
     
    
c8098958910f

Remove insecure SSL context creation in Triton Python backend (#5375)

https://github.com/aws/sagemaker-python-sdkPravali UppugunduriDec 10, 2025via ghsa
1 file changed · +0 5
  • src/sagemaker/serve/model_server/triton/model.py+0 5 modified
    @@ -3,7 +3,6 @@
     from __future__ import absolute_import
     import os
     import logging
    -import ssl
     from pathlib import Path
     import platform
     
    @@ -13,10 +12,6 @@
     
     logger = logging.getLogger(__name__)
     
    -# Otherwise it will complain SSL: CERTIFICATE_VERIFY_FAILED
    -# When trying to download models from torchvision
    -ssl._create_default_https_context = ssl._create_unverified_context
    -
     TRITON_MODEL_DIR = os.getenv("TRITON_MODEL_DIR")
     
     
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

9

News mentions

0

No linked articles in our index yet.