Advisory

PYSEC-2026-2070

Also known as: CVE-2024-4311, GHSA-j3vq-pmp5-r5xj

Summary

Missing ratelimit on passwrod resets in zenml

Details

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.

Severity

Medium Basis: CVSS v3 score 5.4, vector CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:H

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

zenml

PyPI · All systems

Affected

  • introduced 0, fixed 0.57.0rc2 (ecosystem)

Fixed versions

0.57.0rc2

Fix

  • Fixed version 0.57.0rc2
    pip install --upgrade zenml==0.57.0rc2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences