CVE-2025-0508 MD5 Hash Collision in SageMaker Workflow in aws/sagemaker-python-sdk

Medium 5.9 Published Updated

MD5 hash collisions in SageMaker workflows allow attackers to replace workflow results, causing integrity issues and erroneous processing outcomes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-0508?

CVE-2025-0508 is a medium-severity vulnerability in aws/sagemaker-python-sdk, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability in the SageMaker Workflow component of aws/sagemaker-python-sdk allows for the possibility of MD5 hash collisions in all versions. This can lead to workflows being inadvertently replaced due to the reuse of results from different configurations that produce the same MD5 hash. This issue can cause integrity problems within the pipeline, potentially leading to erroneous processing outcomes.

Weakness: CWE-328

Which versions are affected by CVE-2025-0508?

3 open source packages ship an affected version, including sagemaker.

PackageAffectedFixed in
sagemaker PyPIAll versions2.237.3
sagemaker PyPIAll versions2.237.3
sagemaker PyPIAll versions2.237.3

How do I fix CVE-2025-0508?

Upgrade sagemaker to 2.237.3 or later.

Is CVE-2025-0508 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-0508 exists.

Sources

Also known as GHSA-32g6-mg92-ghm2, PYSEC-2026-1885.

Is CVE-2025-0508 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free