CVE-2024-2032: Race condition in zenml
A race condition vulnerability exists in zenml-io/zenml versions up to and including 0.55.3, which allows for the creation of multiple users with the same username when requests are sent in parallel. This issue was fixed in version 0.55.5. The vulnerability arises due to insufficient handling of concurrent user creation requests, leading to data inconsistencies and potential authentication problems.
Published Jun 6, 2024 · Updated Oct 11, 2024
Affected packages
zenml
- Ecosystem
- PyPI
- Affected
- < 0.55.5
- Fixed in
- 0.55.5
- Check
pip show zenml
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A race condition vulnerability exists in zenml-io/zenml versions up to and including 0.55.3, which allows for the creation of multiple users with the same username when requests are sent in parallel. This issue was fixed in version 0.55.5. The vulnerability arises due to insufficient handling of concurrent user creation requests, leading to data inconsistencies and potential authentication problems. Specifically, concurrent processes may overwrite or corrupt user data, complicating user identification and posing security risks. This issue is particularly concerning for APIs that rely on usernames as input parameters, such as PUT /api/v1/users/test_race, where it could lead to further complications.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-2032
- https://github.com/zenml-io/zenml/commit/afcaf741ef9114c9b32f722f101b97de3d8d147b
- https://huntr.com/bounties/6199cd5d-611f-4ea9-96c5-52a952ba5a56
- https://github.com/pypa/advisory-database/tree/main/vulns/zenml/PYSEC-2024-105.yaml
- https://github.com/advisories/GHSA-c546-8jmq-hprj
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2025-8406
ZenML is vulnerable to Path Traversal through its `PathMaterializer` class
medium6.3Oct 5, 2025CVE-2024-9340
ZenML unauthenticated DoS via Multipart Boundry
high7.5Mar 20, 2025CVE-2024-4311
Missing ratelimit on passwrod resets in zenml
medium5.4Nov 14, 2024CVE-2024-5062
Reflected Cross-Site Scripting (XSS) in zenml
medium6.1Jun 30, 2024CVE-2024-4460
Improper line feed handling in zenml
medium4.3Jun 24, 2024CVE-2024-4680
zenml-io/zenml does not expire the session after password reset
low3.9No fixJun 8, 2024
