Missing ratelimit on passwrod resets in zenml
Medium5.4CVE-2024-4311 · Published Nov 14, 2024 · updated Jul 7, 2026
zenml-io/zenml version 0.56.4 is vulnerable to an account takeover due to the lack of rate-limiting in the password change function. An attacker can brute-force the current password in the 'Update Password' function, allowing them to take over the user's account. This vulnerability is due to the absence of rate-limiting on the '/api/v1/current-user' endpoint, which does not restrict the number of attempts an attacker can make to guess the current password. Successful exploitation results in the attacker being able to change the password and take control of the account.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| zenml PyPI | < 0.57.0rc2 | 0.57.0rc2 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-770
- Also known as
- CVE-2024-4311, PYSEC-2026-2070
More ZenML advisories
All ZenML| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Mar 202025 | ZenML unauthenticated DoS via Multipart Boundry | High7.5 | 0.68.0 |
| Jun 302024 | Reflected Cross-Site Scripting (XSS) in zenml | Medium6.1 | 0.58.0 |
| Jun 242024 | Improper line feed handling in zenml | Medium4.3 | 0.57.1 |
| Jun 82024 | zenml-io/zenml does not expire the session after password reset | Low3.9 | No fix yet |
| Jun 62024 | Improper authorization in zenml | Medium6.5 | 0.56.2 |
| Jun 62024 | Race condition in zenml | Low3.1 | 0.55.5 |