Wysoka

SageMaker Python SDK has Exposed HMAC

  • Ujawniono: 02.02.2026
  • Aktualizacja: 11.10.2026 13:18

Summary

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 with sensitive data, model artifacts, environment variables, and potentially AWS metadata.
  • Cross-Tenant or Shared Environment Risks: In multi-tenant, shared S3 bucket, a disclosed HMAC key could act as a pivot point to perform inappropriate actions against other users' remote function workloads. This could leverage the IAM permissions, shared S3 buckets, or VPC resources to compromise adjacent services or data.

Impacted versions

  • SageMaker Python SDK v3 < v3.2.0
  • SageMaker Python SDK v2 < v2.256.0

Patches

This issue has been addressed in SageMaker Python SDK version v3.2.0 and v2.256.0. Upgrading to the latest version immediately and ensuring any forked or derivative code is patched to incorporate the new fixes is recommended.

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.

Resources

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.

Czego dotyczy

Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.

PlatformaPaczkaPodatne wersjePoprawka w wersji
Python (PyPI) sagemaker >= 3.0, < 3.2.0, < 2.256.0 3.2.0, 2.256.0

Odnośniki

Ocena CVSS 7.2/10
Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Słabość (CWE)
CWE-201, CWE-295, CWE-319
Platforma
Python (PyPI)
Paczka
sagemaker
Ujawniono
02.02.2026
Aktualizacja
11.10.2026 13:18

Źródła i licencje

OSV / GitHub Advisory Database - PYSEC-2026-1888 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-rjrp-m2jw-pv9c - CC BY 4.0

Historia podatności: sagemaker

Wszystkie opisane podatności tej paczki (Python (PyPI)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.

Wszystkich wpisów
8
Pierwsza → ostatnia
05.2024 05.2026
Bez poprawki
0
Wykorzystywana w atakach
0

Rozkład istotności

  • Wysoka 6
  • Średnia 2

Ujawnienia w latach

  1. 2024: 2
  2. 2025: 1
  3. 2026: 5
  1. Średnia · 7.2 CVE-2026-8597 >= 2.199.0, < 2.257.2, >= 3.0.0, < 3.8.0 2.257.2, 3.8.0
  2. Wysoka · 7.2 CVE-2026-8596 >= 2.199.0, < 2.257.2, >= 3.0.0, < 3.8.0 2.257.2, 3.8.0
  3. SageMaker Python SDK has Exposed HMAC ten wpis
    Wysoka · 7.2 CVE-2026-1777 >= 3.0, < 3.2.0, < 2.256.0 3.2.0, 2.256.0
  4. Wysoka · 5.9 CVE-2026-1778 >= 3.0, < 3.1.1, < 2.256.0 3.1.1, 2.256.0
  5. Średnia · 5.9 CVE-2025-0508 < 2.237.3 2.237.3
  6. Wysoka · 7.8 CVE-2024-34073 < 2.214.3 2.214.3
  7. Wysoka · 7.8 CVE-2024-34072 < 2.218.0 2.218.0

Dowiedz się, które podatności dotyczą Twojej aplikacji

Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.

Podłącz swoją aplikację
Newsletter DockRay

Bezpieczeństwo aplikacji w Twojej skrzynce

Najważniejsze podatności, konkretne zalecenia i praktyczne wskazówki dla Twoich aplikacji. Wybierz technologie i śledź to, co ma znaczenie dla Twojego projektu.

  • Codzienne zestawienie nowych podatności, także krytycznych.
  • Powiadomienia o ważnych aktualizacjach.
  • Praktyczne porady o bezpieczeństwie i monitoringu aplikacji.

Pozostaw puste, aby otrzymywać informacje o wszystkich technologiach.

Zapis jest bezpłatny. Wypiszesz się jednym kliknięciem w wiadomości.