CVE-2026-1778
JSON

8.2high

TLS disabled by default in select aws/sagemaker-python-sdk configurations

Severity
8.2high CVSS:4.0 by AMZN
Exploit likelihood
0.33% (higher than 19% of CVEs)
Published
Last changed
Assigned by
AMZN
Also known as
GHSA-62rc-f4v9-h543PYSEC-2026-1886

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

Product or packageVersionsReported by
AWS SageMaker Python SDKNot specified
Not affected: 3.1.1, 2.256.0
CVE List
sagemaker (PyPI)from 3.0 before 3.1.1, before 2.256.0GitHub Advisory Database, PyPA Advisory Database

All scores

AMZN5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
AMZN8.2high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
GitHub5.9high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
PyPA Advisory Database5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Classification

CWE-295CWE-599

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Summary

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 SDK’s previous insecure configuration. This opt-in approach maintains security while accommodating internal trusted domains.

References

If there are any questions or comments about this advisory, contact AWS Security via the vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.

NVD (es)

El SDK de Python de Amazon SageMaker anterior a la v3.1.1 o v2.256.0 deshabilita la verificación de certificados TLS para las conexiones HTTPS realizadas por el servicio cuando se importa un modelo de Python de Triton, permitiendo incorrectamente que las solicitudes con certificados no válidos y autofirmados tengan éxito.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-1778 changed 2026-02-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-62rc-f4v9-h543 changed 2026-07-07CC-BY-4.0
NVDCVE-2026-1778 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1886 changed 2026-07-07CC-BY-4.0