# CVE-2024-34072: Deserialization of Untrusted Data in sagemaker-python-sdk

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-03 · Modified: 2024-08-02
- Aliases: GHSA-wjvx-jhpj-r54r, PYSEC-2026-1889
- Record: https://cvemate.com/vulnerability/CVE-2024-34072 · JSON: https://cvemate.com/vulnerability/CVE-2024-34072/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.408%, percentile 37.148%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- aws sagemaker-python-sdk: \< 2.218.0
- PyPI sagemaker (PyPI): \< 2.218.0

## References

- <https://github.com/aws/sagemaker-python-sdk/security/advisories/GHSA-wjvx-jhpj-r54r>
- <https://github.com/aws/sagemaker-python-sdk/pull/4557>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34072>
- <https://github.com/aws/sagemaker-python-sdk/commit/72e0c9712aec6fbb82fb40fda091dfc2a42c70a0>
- <https://github.com/aws/sagemaker-python-sdk>
- <https://pypi.org/project/sagemaker>
- <https://github.com/advisories/GHSA-wjvx-jhpj-r54r>

---

Data as of 2026-12-05T10:20:19.548Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
