PyPI: zenml

CVE-2024-4311

Safety vulnerability ID: SFTY-20241114-48907

Safety legacy ID: pyup.io-74260

Affected versions of zenml-io/zenml before are vulnerable to Open Redirection (CWE-601). This vulnerability allows attackers to redirect users to malicious sites by manipulating the next parameter in the login functionality. The impact includes phishing attacks and unauthorized access to sensitive resources. The attack vector involves crafting requests with malicious next parameters to the /api/v1/current-user endpoint. Vulnerable functions include login in app_blueprint.py and get_redirect_url in helpers.py. To mitigate, upgrade to zenml-io/zenml the version which implements proper validation and handling of redirect URLs, preventing unauthorized redirections.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

Missing ratelimit on passwrod resets in zenml

Advisory

Affected versions of zenml-io/zenml before are vulnerable to Open Redirection (CWE-601). This vulnerability allows attackers to redirect users to malicious sites by manipulating the next parameter in the login functionality. The impact includes phishing attacks and unauthorized access to sensitive resources. The attack vector involves crafting requests with malicious next parameters to the /api/v1/current-user endpoint. Vulnerable functions include login in app_blueprint.py and get_redirect_url in helpers.py. To mitigate, upgrade to zenml-io/zenml the version which implements proper validation and handling of redirect URLs, preventing unauthorized redirections.

Affected Package

Affecting zenml package, versions<0.57.0rc2

Also affects

---

How to Fix

Upgradezenmlto0.57.0rc2or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more