Hoch

SageMaker Python SDK has Exposed HMAC

  • Veröffentlicht: 02.02.2026
  • Aktualisiert: 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.

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Python (PyPI) sagemaker >= 3.0, < 3.2.0, < 2.256.0 3.2.0, 2.256.0

Verweise

CVSS-Wert 7.2/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Schwäche (CWE)
CWE-201, CWE-295, CWE-319
Plattform
Python (PyPI)
Paket
sagemaker
Veröffentlicht
02.02.2026
Aktualisiert
11.10.2026 13:18

Quellen und Lizenzen

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

Schwachstellenhistorie: sagemaker

Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Einträge insgesamt
8
Erste → letzte
05.2024 05.2026
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Hoch 6
  • Mittel 2

Veröffentlichungen pro Jahr

  1. 2024: 2
  2. 2025: 1
  3. 2026: 5
  1. Mittel · 7.2 CVE-2026-8597 >= 2.199.0, < 2.257.2, >= 3.0.0, < 3.8.0 2.257.2, 3.8.0
  2. Hoch · 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 dieser Eintrag
    Hoch · 7.2 CVE-2026-1777 >= 3.0, < 3.2.0, < 2.256.0 3.2.0, 2.256.0
  4. Hoch · 5.9 CVE-2026-1778 >= 3.0, < 3.1.1, < 2.256.0 3.1.1, 2.256.0
  5. Mittel · 5.9 CVE-2025-0508 < 2.237.3 2.237.3
  6. Hoch · 7.8 CVE-2024-34073 < 2.214.3 2.214.3
  7. Hoch · 7.8 CVE-2024-34072 < 2.218.0 2.218.0

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.