Live threats

All CVEs / aws

CVE-2024-34073aws sagemaker-python-sdk

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
1.8%
probability of exploitation in 30 days · percentile 80
Auth required
Yes
Published
May 3, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

sagemaker-python-sdk is a library for training and deploying machine learning models on Amazon SageMaker. In affected versions the capture_dependencies function in `sagemaker.serve.save_retrive.version_1_0_0.save.utils` module allows for potentially unsafe Operating System (OS) Command Injection if inappropriate command is passed as the “requirements_path” parameter. This consequently may allow an unprivileged third party to cause remote code execution, denial of service, affecting both confidentiality and integrity. This issue has been addressed in version 2.214.3. Users are advised to upgrade. Users unable to upgrade should 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.

Original NVD text.

What to do

  1. Apply the vendor's security update for sagemaker-python-sdk.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI sagemaker < 2.214.3 2.214.3 pip install "sagemaker>=2.214.3"
PyPI sagemaker < 2.214.3 2.214.3 pip install "sagemaker>=2.214.3"

Per OSV / GitHub Advisories (GHSA-7pc3-pr3q-58vg, PYSEC-2026-1887). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.