CVE-2024-34073
Python vulnerability analysis and mitigation

Overview

sagemaker-python-sdk is a library for training and deploying machine learning models on Amazon SageMaker. A command injection vulnerability was discovered in versions prior to 2.214.3, specifically in the capture_dependencies function within the sagemaker.serve.save_retrive.version_1_0_0.save.utils module (GitHub Advisory, NVD).

Technical details

The vulnerability exists in the capture_dependencies function where improper handling of the 'requirements_path' parameter could allow for Operating System (OS) Command Injection. The issue stems from unsafe command execution when processing the requirements_path parameter. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, indicating local attack vector, low attack complexity, no privileges required, and user interaction required (GitHub Advisory).

Impact

Successful exploitation of this vulnerability could allow an unprivileged third party to achieve remote code execution and cause denial of service. The impact affects both confidentiality and integrity of the system. The high severity rating indicates significant potential damage if exploited (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 2.214.3. Users are strongly advised to upgrade to this version or later. For those unable to upgrade immediately, a workaround is available: do not override the 'requirements_path' parameter of capture_dependencies function in sagemaker.serve.save_retrive.version_1_0_0.save.utils, and instead use the default value (GitHub Advisory).

Community reactions

HiddenLayer was credited for collaborating on this issue through the coordinated vulnerability disclosure process. AWS has requested that any questions or comments about this advisory be directed to AWS/Amazon Security via their vulnerability reporting page or directly via email, rather than creating public GitHub issues (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-70492HIGH8.7
  • Python logoPython
  • cpe:2.3:a:openwebui:open_webui
NoYesAug 04, 2026
CVE-2026-70494HIGH8.1
  • Python logoPython
  • cpe:2.3:a:openwebui:open_webui
NoYesAug 04, 2026
CVE-2026-70493MEDIUM6.5
  • Python logoPython
  • cpe:2.3:a:openwebui:open_webui
NoYesAug 04, 2026
CVE-2026-70491MEDIUM6.5
  • Python logoPython
  • cpe:2.3:a:openwebui:open_webui
NoYesAug 04, 2026
CVE-2026-70490MEDIUM6.3
  • Python logoPython
  • cpe:2.3:a:openwebui:open_webui
NoYesAug 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management