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

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-02)
- Published: 2024-05-03T10:13:24.557Z
- Modified: 2026-09-10T03:50:14.667Z
- Also known as: GHSA-wjvx-jhpj-r54r, PYSEC-2026-1889
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- aws sagemaker-python-sdk: < 2.218.0; from - before 2.218.0
- sagemaker (PyPI): before 2.218.0

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

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

## Sources

- CVE List: [CVE-2024-34072](https://www.cve.org/CVERecord?id=CVE-2024-34072), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-wjvx-jhpj-r54r](https://github.com/advisories/GHSA-wjvx-jhpj-r54r), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-34072](https://nvd.nist.gov/vuln/detail/CVE-2024-34072), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1889](https://osv.dev/vulnerability/PYSEC-2026-1889), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-34072 · Whole record: https://cve.day/CVE-2024-34072.json · Rebuilt by cve.day 2026-11-25T22:58:39.927Z
