CVE-2024-34072aws sagemaker-python-sdk
High 7.8
Follow: this CVE · aws · aws sagemaker-python-sdk We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 54
- Auth required
- Yes
- Published
- May 3, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- 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. The sagemaker.base_deserializers.NumpyDeserializer module before v2.218.0 allows potentially unsafe deserialization when untrusted data is passed as pickled object arrays. This consequently may allow an unprivileged third party to cause remote code execution, denial of service, affecting both confidentiality and integrity. Users are advised to upgrade to version 2.218.0. Users unable to upgrade should not pass pickled numpy object arrays which originated from an untrusted source, or that could have been tampered with. Only pass pickled numpy object arrays from trusted sources.
What to do
- Apply the vendor's security update for sagemaker-python-sdk.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | sagemaker |
< 2.218.0 |
2.218.0 |
pip install "sagemaker>=2.218.0" |
| PyPI | sagemaker |
< 2.218.0 |
2.218.0 |
pip install "sagemaker>=2.218.0" |
Per OSV / GitHub Advisories (GHSA-wjvx-jhpj-r54r, PYSEC-2026-1889). Check the version in your lockfile before upgrading.
Affected products
- aws · sagemaker-python-sdk
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.