---
id: CVE-2024-4311
aliases:
  - GHSA-j3vq-pmp5-r5xj
  - PYSEC-2026-2070
title: Missing ratelimit on passwrod resets in zenml
summary: Missing ratelimit on passwrod resets in zenml
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:H'
vendor: zenml
product: zenml
ecosystem: pip
affected:
  - zenml < 0.57.0rc2
patched:
  - zenml 0.57.0rc2
published: '2024-11-14'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-j3vq-pmp5-r5xj'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-4311'
  - url: >-
      https://github.com/zenml-io/zenml/commit/87a6c2c8f45b49ea83fbb5fe8fff7ab5365a60c9
  - url: 'https://github.com/zenml-io/zenml'
  - url: 'https://huntr.com/bounties/d5517e1a-6b94-4e38-aad6-3aa65f98bec2'
tags:
  - osv
  - pip
epss: 0.00479
epssPercentile: 0.38697
ingestedAt: '2026-07-08T18:25:50.552Z'
---

## Overview

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 packages

- `zenml < 0.57.0rc2`

## Remediation

Upgrade to a patched release:

- `zenml 0.57.0rc2`
