CVE-2024-25723 ZenML Server Remote Privilege Escalation Vulnerability

High 8.8 Published Updated

Remote attackers can escalate privileges by activating user accounts via an insecure API endpoint in ZenML Server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-25723?

CVE-2024-25723 is a high-severity authentication bypass vulnerability in n/a, published on 27 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

ZenML Server in the ZenML machine learning package before 0.46.7 for Python allows remote privilege escalation because the /api/v1/users/{user_name_or_id}/activate REST API endpoint allows access on the basis of a valid username along with a new password in the request body. These are also patched versions: 0.44.4, 0.43.1, and 0.42.2.

Weakness: CWE-284

Which versions are affected by CVE-2024-25723?

9 open source packages ship an affected version, including zenml. It affects 1 product.

PackageAffectedFixed in
zenml PyPIAll versions0.42.2, 0.43.1, 0.44.4, 0.46.7
zenml PyPIAll versions0.42.2
zenml PyPIAll versions0.42.2
zenml PyPIFrom 0.43.00.43.1
zenml PyPIFrom 0.43.00.43.1
zenml PyPIFrom 0.44.00.44.4
3 more packages
zenml PyPIFrom 0.44.00.44.4
zenml PyPIFrom 0.45.00.46.7
zenml PyPIFrom 0.45.00.46.7

Products include Zenml Zenml.

How do I fix CVE-2024-25723?

Upgrade zenml to a fixed version for your release line: 0.42.2, 0.43.1, 0.44.4 or 0.46.7.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2024-25723 being exploited?

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

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-vf7j-cmrj-pmmm, PYSEC-2026-2072.

Is CVE-2024-25723 in your software?

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

Check your SBOMs for free