CVE-2026-1778: Sagemaker SageMaker Python SDK Has Insecure Vulnerability
HIGHCVE-2026-1778 is a HIGH (CVSS 5.9) sagemaker python sdk has insecure vulnerability (CWE-295: Improper Certificate Validation) affecting Sagemaker libraries in the PyPI ecosystem. The issue involves sagemaker python sdk has insecure tls configuration. Remediation is available by upgrading affected packages to version 3.1.1, 2.256.0.
CVE-2026-1778 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2026-1778
To remediate this vulnerability, upgrade all affected Sagemaker dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install sagemaker>=3.1.1
pip install sagemaker>=2.256.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show sagemaker
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-1778, inspect your installed packages using pip:
pip show sagemaker
Analyze the terminal output to locate any version of Sagemaker in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.1), your application is affected.
Note: The pip show sagemaker command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Sagemaker, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-1778 Affected Sagemaker Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sagemaker
|
PyPI |
≥ 3.0
< 3.1.1
|
3.1.1
|
|
sagemaker
|
PyPI |
< 2.256.0
|
2.256.0
|
References
Frequently Asked Questions
What is CVE-2026-1778?
Which Sagemaker versions are affected?
What version fixes CVE-2026-1778?
Is sagemaker affected?
What is the CVSS score of CVE-2026-1778?
What CWE is associated with CVE-2026-1778?
How can I check PyPI dependencies for CVE-2026-1778?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-62rc-f4v9-h543",
"modified" : "2026-02-03T19:01:03Z",
"published" : "2026-02-02T23:24:50Z",
"aliases" : [ "CVE-2026-1778" ],
"summary" : "SageMaker Python SDK has Insecure TLS Configuration",
"details" : "### Summary\nSageMaker 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.\n\n### Impact\nArbitrary 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.\n\n### Impacted versions\n\n- SageMaker Python SDK v3 < v3.1.1\n- SageMaker Python SDK v2 < v2.256.0\n\n### Patches\nThis issue has been addressed in SageMaker Python SDK version [v3.1.1](https://github.com/aws/sagemaker-python-sdk/tree/1ab6d30401946e92fdbea18497675681649e0153) and [v2.256.0](https://github.com/aws/sagemaker-python-sdk/tree/a140cfcd12abfee10254cb4dea3bb10758e4321c). It is recommended to upgrade to the latest version immediately and ensure any forked or derivative code is patched to incorporate the new fixes.\n\n### Workarounds\nCustomers 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.\n\n### References\nIf there are any questions or comments about this advisory, contact AWS Security via the [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "sagemaker"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0"
}, {
"fixed" : "3.1.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "sagemaker"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.256.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/aws/sagemaker-python-sdk/security/advisories/GHSA-62rc-f4v9-h543"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-1778"
}, {
"type" : "WEB",
"url" : "https://github.com/aws/sagemaker-python-sdk/commit/5e7a3efa7bec0a161194ffa0cef346dda93bf2c6"
}, {
"type" : "WEB",
"url" : "https://github.com/aws/sagemaker-python-sdk/commit/c8098958910f7db78d07037425debfd4d44a6964"
}, {
"type" : "WEB",
"url" : "https://aws.amazon.com/security/security-bulletins/2026-004-AWS"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/aws/sagemaker-python-sdk"
}, {
"type" : "WEB",
"url" : "https://github.com/aws/sagemaker-python-sdk/releases/tag/v2.256.0"
}, {
"type" : "WEB",
"url" : "https://github.com/aws/sagemaker-python-sdk/releases/tag/v3.1.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295", "CWE-599" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-02T23:24:50Z",
"nvd_published_at" : "2026-02-02T23:16:04Z"
}
}