{"answers":{"affected":"9 open source packages ship an affected version, including zenml. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-25723 exists.","fix":"Upgrade zenml to a fixed version for your release line: 0.42.2, 0.43.1, 0.44.4 or 0.46.7.","what":"CVE-2024-25723 is a high-severity authentication bypass vulnerability in n/a, published on 27 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-25723 and fix it if it is affected.\n\nWhat it is: CVE-2024-25723 is a high-severity authentication bypass vulnerability in n/a, published on 27 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-25723 exists.\n\nAffected packages and fixed versions:\n- zenml (PyPI): affected all versions; fixed in 0.42.2, 0.43.1, 0.44.4, 0.46.7\n- zenml (PyPI): affected all versions; fixed in 0.42.2\n- zenml (PyPI): affected all versions; fixed in 0.42.2\n- zenml (PyPI): affected from 0.43.0; fixed in 0.43.1\n- zenml (PyPI): affected from 0.43.0; fixed in 0.43.1\n- zenml (PyPI): affected from 0.44.0; fixed in 0.44.4\n- zenml (PyPI): affected from 0.44.0; fixed in 0.44.4\n- zenml (PyPI): affected from 0.45.0; fixed in 0.46.7\n- zenml (PyPI): affected from 0.45.0; fixed in 0.46.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-25723/ (Markdown: https://insights.sbomify.com/CVE-2024-25723/index.md)","id":"CVE-2024-25723","markdown":"https://insights.sbomify.com/CVE-2024-25723/index.md","name":"CVE-2024-25723","record":{"aliases":["GHSA-vf7j-cmrj-pmmm","PYSEC-2026-2072"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"ZenML ML server","requires_auth":"low_privilege","summary":"Remote attackers can escalate privileges by activating user accounts via an insecure API endpoint in ZenML Server.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"zenml","vendor":"zenml"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"description":"ZenML Server in the ZenML machine learning package before 0.46.7 for Python allows remote privilege escalation because the /api/v1/users/{user_name_or_id}/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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2024-03-20","github_poc":1,"max_poc_stars":4,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-03-20T01:28:09Z","kind":"github_poc","ref":"https://github.com/david-botelho-mariano/exploit-CVE-2024-25723","stars":4,"title":null},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-25723.yaml","stars":null,"title":"ZenML ZenML Server - Improper Authentication"}],"tier":"weaponised"},"has_fix":true,"headline":"ZenML Server Remote Privilege Escalation Vulnerability","id":"CVE-2024-25723","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"auth_bypass","year":"2024"},"n_packages":9,"n_references":5,"next":{"headline":"Memory corruption in n/a","id":"CVE-2024-25724"},"packages":[{"ecosystem":"PyPI","fixed":["0.42.2","0.43.1","0.44.4","0.46.7"],"introduced":["0","0.43.0","0.44.0","0.45.0"],"last_affected":[],"package":"zenml","purl":"pkg:pypi/zenml","source":"PYSEC-2026-2072"},{"ecosystem":"PyPI","fixed":["0.42.2"],"introduced":["0"],"last_affected":[],"package":"zenml","purl":null,"source":"GHSA-vf7j-cmrj-pmmm"},{"ecosystem":"PyPI","fixed":["0.42.2"],"introduced":["0"],"last_affected":[],"package":"zenml","purl":"pkg:pypi/zenml","source":"GHSA-vf7j-cmrj-pmmm"},{"ecosystem":"PyPI","fixed":["0.43.1"],"introduced":["0.43.0"],"last_affected":[],"package":"zenml","purl":null,"source":"GHSA-vf7j-cmrj-pmmm"},{"ecosystem":"PyPI","fixed":["0.43.1"],"introduced":["0.43.0"],"last_affected":[],"package":"zenml","purl":"pkg:pypi/zenml","source":"GHSA-vf7j-cmrj-pmmm"},{"ecosystem":"PyPI","fixed":["0.44.4"],"introduced":["0.44.0"],"last_affected":[],"package":"zenml","purl":null,"source":"GHSA-vf7j-cmrj-pmmm"},{"ecosystem":"PyPI","fixed":["0.44.4"],"introduced":["0.44.0"],"last_affected":[],"package":"zenml","purl":"pkg:pypi/zenml","source":"GHSA-vf7j-cmrj-pmmm"},{"ecosystem":"PyPI","fixed":["0.46.7"],"introduced":["0.45.0"],"last_affected":[],"package":"zenml","purl":null,"source":"GHSA-vf7j-cmrj-pmmm"},{"ecosystem":"PyPI","fixed":["0.46.7"],"introduced":["0.45.0"],"last_affected":[],"package":"zenml","purl":"pkg:pypi/zenml","source":"GHSA-vf7j-cmrj-pmmm"}],"prev":{"headline":"SQL injection in n/a","id":"CVE-2024-25722"},"products":["n/a"],"published":"2024-02-27","related":[{"cvss_score":9.9,"headline":"Directory Traversal in zenml-io/zenml","id":"CVE-2024-2083","kev_date_added":null,"published":"2024-04-16"},{"cvss_score":8.8,"headline":"Code injection in n/a","id":"CVE-2024-28424","kev_date_added":null,"published":"2024-03-14"},{"cvss_score":7.5,"headline":"Denial of Service (DoS) via Multipart Boundary in zenml-io/zenml","id":"CVE-2024-9340","kev_date_added":null,"published":"2025-03-20"},{"cvss_score":6.5,"headline":"Improper Authorization in zenml-io/zenml","id":"CVE-2024-2035","kev_date_added":null,"published":"2024-06-06"},{"cvss_score":6.3,"headline":"Path Traversal in zenml-io/zenml","id":"CVE-2025-8406","kev_date_added":null,"published":"2025-10-05"},{"cvss_score":5.4,"headline":"Lack of login attempt rate-limiting in zenml-io/zenml","id":"CVE-2024-4311","kev_date_added":null,"published":"2024-11-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["n/a"]},"summary":"Remote attackers can escalate privileges by activating user accounts via an insecure API endpoint in ZenML Server.","url":"https://insights.sbomify.com/CVE-2024-25723/"}