Skip to content

← Public intelligence

PyPI package

zenml

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

13 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.3PyPIAmendedPublished

    ZenML is vulnerable to Path Traversal through its PathMaterializer class

    CVE-2025-8406 · GHSA-q92x-2x5g-h365

    Affected
    • PyPI zenml >= 0.81.0, < 0.84.2
    Fixed in
    0.84.2· Vendor fix available
    Issue
    ZenML version 0.83.1 is affected by a path traversal vulnerability in the PathMaterializer class. The load function uses ispathwithindirectory to validate files during data.tar.gz extraction, which fails to effectively detect symbolic and hard links. This vulnerability can lead to arbitrary file writes, potentially resulting in arbitrary command execution if critical files are overwritten.

    Recommended action: Upgrade to 0.84.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. High, CVSS 7.5PyPIAmendedPublished

    ZenML unauthenticated DoS via Multipart Boundry

    CVE-2024-9340 · GHSA-6gmf-2369-c76c

    Affected
    • PyPI zenml < 0.68.0
    Fixed in
    0.68.0· Vendor fix available
    Issue
    A Denial of Service (DoS) vulnerability in zenml-io/zenml version 0.66.0 allows unauthenticated attackers to cause excessive resource consumption by sending malformed multipart requests with arbitrary characters appended to the end of multipart boundaries. This flaw in the multipart request boundary processing mechanism leads to an infinite loop, resulting in a complete denial of service for all users. Affected endpoints include /api/v1/login and /api/v1/deviceauthorization.

    Recommended action: Upgrade to 0.68.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. Medium, CVSS 5.4PyPIAmendedPublished

    Missing ratelimit on passwrod resets in zenml

    CVE-2024-4311 · GHSA-j3vq-pmp5-r5xj

    Affected
    • PyPI zenml < 0.57.0rc2
    Fixed in
    0.57.0rc2· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 0.57.0rc2 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. Medium, CVSS 5.3PyPIAmendedPublished

    Reflected Cross-Site Scripting (XSS) in zenml

    CVE-2024-5062 · GHSA-3434-hc3m-8mmm

    Affected
    • PyPI zenml >= 0.57.1, <= 0.57.1
    Fixed in
    0.58.0· Vendor fix available
    Issue
    A reflected Cross-Site Scripting (XSS) vulnerability was identified in zenml-io/zenml version 0.57.1. The vulnerability exists due to improper neutralization of input during web page generation, specifically within the survey redirect parameter. This flaw allows an attacker to redirect users to a specified URL after completing a survey, without proper validation of the 'redirect' parameter. Consequently, an attacker can execute arbitrary JavaScript code in the context of the user's browser session. This vulnerability could be exploited to steal cookies, potentially leading to account takeover.

    Recommended action: Upgrade to 0.58.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. Medium, CVSS 4.3PyPIAmendedPublished

    Improper line feed handling in zenml

    CVE-2024-4460 · GHSA-7gjr-hcc3-xfr4

    Affected
    • PyPI zenml < 0.57.1
    Fixed in
    0.57.1· Vendor fix available
    Issue
    A denial of service (DoS) vulnerability exists in zenml-io/zenml version 0.56.3 due to improper handling of line feed (\n) characters in component names. When a low-privileged user adds a component through the API endpoint api/v1/workspaces/default/components with a name containing a \n character, it leads to uncontrolled resource consumption. This vulnerability results in the inability of users to add new components in certain categories (e.g., 'Image Builder') and to register new stacks through the UI, thereby degrading the user experience and potentially rendering the ZenML Dashboard unusable. The issue does not affect component addition through the Web UI, as \n characters are properly escaped in that context. The vulnerability was tested on ZenML running in Docker, and it was observed in both Firefox and Chrome browsers.

    Recommended action: Upgrade to 0.57.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  6. Low, CVSS 3.4PyPIAmendedPublished

    Cross site scripting in zenml

    CVE-2024-2171 · GHSA-vwgf-7f9h-h499

    Affected
    • PyPI zenml < 0.56.2
    Fixed in
    0.56.2· Vendor fix available
    Issue
    A stored Cross-Site Scripting (XSS) vulnerability was identified in the zenml-io/zenml repository, specifically within the 'logourl' field. By injecting malicious payloads into this field, an attacker could send harmful messages to other users, potentially compromising their accounts. The vulnerability affects version 0.55.3 and was fixed in version 0.56.2. The impact of exploiting this vulnerability could lead to user account compromise.

    Recommended action: Upgrade to 0.56.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  7. Low, CVSS 3.3PyPIAmendedPublished

    Improper authentication in zenml

    CVE-2024-2213 · GHSA-j527-v579-m98h

    Affected
    • PyPI zenml < 0.56.3
    Fixed in
    0.56.3· Vendor fix available
    Issue
    An issue was discovered in zenml-io/zenml versions up to and including 0.55.4. Due to improper authentication mechanisms, an attacker with access to an active user session can change the account password without needing to know the current password. This vulnerability allows for unauthorized account takeover by bypassing the standard password change verification process. The issue was fixed in version 0.56.3.

    Recommended action: Upgrade to 0.56.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  8. Medium, CVSS 4.3PyPIAmendedPublished

    Clickjacking in zenml

    CVE-2024-2383 · GHSA-mq73-g4qr-fgcq

    Affected
    • PyPI zenml < 0.56.3
    Fixed in
    0.56.3· Vendor fix available
    Issue
    A clickjacking vulnerability exists in zenml-io/zenml versions up to and including 0.55.5 due to the application's failure to set appropriate X-Frame-Options or Content-Security-Policy HTTP headers. This vulnerability allows an attacker to embed the application UI within an iframe on a malicious page, potentially leading to unauthorized actions by tricking users into interacting with the interface under the attacker's control. The issue was addressed in version 0.56.3.

    Recommended action: Upgrade to 0.56.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  9. Low, CVSS 3.1PyPIAmendedPublished

    Race condition in zenml

    CVE-2024-2032 · GHSA-c546-8jmq-hprj

    Affected
    • PyPI zenml < 0.55.5
    Fixed in
    0.55.5· Vendor fix available
    Issue
    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/testrace, where it could lead to further complications.

    Recommended action: Upgrade to 0.55.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  10. Medium, CVSS 6.5PyPIAmendedPublished

    Improper authorization in zenml

    CVE-2024-2035 · GHSA-9x88-4jg8-4vf7

    Affected
    • PyPI zenml < 0.56.2
    Fixed in
    0.56.2· Vendor fix available
    Issue
    An improper authorization vulnerability exists in the zenml-io/zenml repository, specifically within the API PUT /api/v1/users/id endpoint. This vulnerability allows any authenticated user to modify the information of other users, including changing the active status of user accounts to false, effectively deactivating them. This issue affects version 0.55.3 and was fixed in version 0.56.2. The impact of this vulnerability is significant as it allows for the deactivation of admin accounts, potentially disrupting the functionality and security of the application.

    Recommended action: Upgrade to 0.56.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  11. Medium, CVSS 4.2PyPIAmendedPublished

    zenml Session Fixation vulnerability

    CVE-2024-2260 · GHSA-g3r5-72hf-p7p2

    Affected
    • PyPI zenml < 0.56.2
    Fixed in
    0.56.2· Vendor fix available
    Issue
    A session fixation vulnerability exists in the zenml-io/zenml application, where JWT tokens used for user authentication are not invalidated upon logout. This flaw allows an attacker to bypass authentication mechanisms by reusing a victim's JWT token.

    Recommended action: Upgrade to 0.56.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  12. Critical, CVSS 9.9PyPIAmendedPublished

    Directory traversal in zenml

    CVE-2024-2083 · GHSA-6h3f-43vq-53hj

    Affected
    • PyPI zenml < 0.55.5
    Fixed in
    0.55.5· Vendor fix available
    Issue
    A directory traversal vulnerability exists in the zenml-io/zenml repository, specifically within the /api/v1/steps endpoint. Attackers can exploit this vulnerability by manipulating the 'logs' URI path in the request to fetch arbitrary file content, bypassing intended access restrictions. The vulnerability arises due to the lack of validation for directory traversal patterns, allowing attackers to access files outside of the restricted directory.

    Recommended action: Upgrade to 0.55.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  13. High, CVSS 7.1PyPIAmendedPublished

    ZenML Server Remote Privilege Escalation Vulnerability

    CVE-2024-25723 · GHSA-vf7j-cmrj-pmmm

    Affected
    • PyPI zenml < 0.42.2; >= 0.43.0, <= 0.43.0; >= 0.45.0, < 0.46.7; >= 0.44.0, < 0.44.4
    Fixed in
    0.42.20.44.40.43.10.46.7· Vendor fix available
    Issue
    ZenML Server in the ZenML package before 0.46.7 for Python allows remote privilege escalation because the /api/v1/users/{usernameorid}/activate REST API endpoint allows access on the basis of a valid username along with a new password in the request body. These are also patched versions: 0.44.4, 0.43.1, and 0.42.2.

    Recommended action: Upgrade to 0.46.7, 0.44.4, 0.43.1 or 0.42.2 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →