{"answers":{"affected":"13 open source packages ship an affected version, including github.com/zitadel/zitadel. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-49757 exists.","fix":"Upgrade github.com/zitadel/zitadel to a fixed version for your release line: 2.58.7, 2.59.5, 2.60.4 or 2.61.4.","what":"CVE-2024-49757 is a high-severity authentication bypass vulnerability in zitadel, published on 25 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-49757 and fix it if it is affected.\n\nWhat it is: CVE-2024-49757 is a high-severity authentication bypass vulnerability in zitadel, published on 25 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-49757 exists.\n\nAffected packages and fixed versions:\n- github.com/zitadel/zitadel (Go): affected all versions; no fix listed\n- github.com/zitadel/zitadel (Go): affected all versions; fixed in 2.58.7\n- github.com/zitadel/zitadel (Go): affected all versions; fixed in 2.58.7\n- github.com/zitadel/zitadel (Go): affected from 2.59.0; fixed in 2.59.5\n- github.com/zitadel/zitadel (Go): affected from 2.59.0; fixed in 2.59.5\n- github.com/zitadel/zitadel (Go): affected from 2.60.0; fixed in 2.60.4\n- github.com/zitadel/zitadel (Go): affected from 2.60.0; fixed in 2.60.4\n- github.com/zitadel/zitadel (Go): affected from 2.61.0; fixed in 2.61.4\n- github.com/zitadel/zitadel (Go): affected from 2.61.0; fixed in 2.61.4\n- github.com/zitadel/zitadel (Go): affected from 2.62.0; fixed in 2.62.7\n- github.com/zitadel/zitadel (Go): affected from 2.62.0; fixed in 2.62.7\n- github.com/zitadel/zitadel (Go): affected from 2.63.0; fixed in 2.63.5\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-49757/ (Markdown: https://insights.sbomify.com/CVE-2024-49757/index.md)","id":"CVE-2024-49757","markdown":"https://insights.sbomify.com/CVE-2024-49757/index.md","name":"CVE-2024-49757","record":{"aliases":["GHSA-3rmw-76m6-4gjc","GO-2024-3217"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["account_takeover","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Identity infrastructure software","requires_auth":"none","summary":"Attackers can bypass disabled user registration restrictions by directly accessing the registration URL, allowing unauthorized account creation.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"zitadel","vendor":"zitadel"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"The open-source identity infrastructure software Zitadel allows administrators to disable the user self-registration. Due to a missing security check in versions prior to 2.64.0, 2.63.5, 2.62.7, 2.61.4, 2.60.4, 2.59.5, and 2.58.7, disabling the \"User Registration allowed\" option only hid the registration button on the login page. Users could bypass this restriction by directly accessing the registration URL (/ui/login/loginname) and register a user that way. Versions 2.64.0, 2.63.5, 2.62.7, 2.61.4, 2.60.4, 2.59.5, and 2.58.7 contain a patch. No known workarounds are available.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-49757.yaml","stars":null,"title":"Zitadel - User Registration Bypass"}],"tier":"weaponised"},"has_fix":true,"headline":"Zitadel User Registration Bypass Vulnerability","id":"CVE-2024-49757","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2024"},"n_packages":13,"n_references":8,"next":{"headline":"LibreNMS has a stored XSS in ExamplePlugin with Device's Notes","id":"CVE-2024-49758"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"GO-2024-3217"},{"ecosystem":"Go","fixed":["2.58.7"],"introduced":["0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":null,"source":"GHSA-3rmw-76m6-4gjc"},{"ecosystem":"Go","fixed":["2.58.7"],"introduced":["0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"GHSA-3rmw-76m6-4gjc"},{"ecosystem":"Go","fixed":["2.59.5"],"introduced":["2.59.0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":null,"source":"GHSA-3rmw-76m6-4gjc"},{"ecosystem":"Go","fixed":["2.59.5"],"introduced":["2.59.0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"GHSA-3rmw-76m6-4gjc"},{"ecosystem":"Go","fixed":["2.60.4"],"introduced":["2.60.0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":null,"source":"GHSA-3rmw-76m6-4gjc"},{"ecosystem":"Go","fixed":["2.60.4"],"introduced":["2.60.0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"GHSA-3rmw-76m6-4gjc"},{"ecosystem":"Go","fixed":["2.61.4"],"introduced":["2.61.0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":null,"source":"GHSA-3rmw-76m6-4gjc"},{"ecosystem":"Go","fixed":["2.61.4"],"introduced":["2.61.0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"GHSA-3rmw-76m6-4gjc"},{"ecosystem":"Go","fixed":["2.62.7"],"introduced":["2.62.0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":null,"source":"GHSA-3rmw-76m6-4gjc"},{"ecosystem":"Go","fixed":["2.62.7"],"introduced":["2.62.0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"GHSA-3rmw-76m6-4gjc"},{"ecosystem":"Go","fixed":["2.63.5"],"introduced":["2.63.0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":null,"source":"GHSA-3rmw-76m6-4gjc"},{"ecosystem":"Go","fixed":["2.63.5"],"introduced":["2.63.0"],"last_affected":[],"package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"GHSA-3rmw-76m6-4gjc"}],"prev":{"headline":"AshPostgres empty, atomic, non-bulk actions, policy bypass for side-effects vulnerability.","id":"CVE-2024-49756"},"products":["zitadel"],"published":"2024-10-25","related":[{"cvss_score":9.3,"headline":"ZITADEL: 1-Click Account Takeover via XSS in /saml-post Endpoint","id":"CVE-2026-29191","kev_date_added":null,"published":"2026-03-07"},{"cvss_score":9.3,"headline":"ZITADEL Vulnerable to Unauthenticated Full-Read SSRF via V2 Login","id":"CVE-2025-67494","kev_date_added":null,"published":"2025-12-09"},{"cvss_score":9,"headline":"IDOR Vulnerabilities in ZITADEL's Admin API that Primarily Impact LDAP Configurations","id":"CVE-2025-27507","kev_date_added":null,"published":"2025-03-04"},{"cvss_score":8.7,"headline":"Zitadel Bypass Second Authentication Factor","id":"CVE-2025-64103","kev_date_added":null,"published":"2025-10-29"},{"cvss_score":8.7,"headline":"Zitadel Expired JWT Keys Usable for Authorization Grants","id":"CVE-2025-31123","kev_date_added":null,"published":"2025-03-31"},{"cvss_score":8.7,"headline":"ZITADEL Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass","id":"CVE-2024-29891","kev_date_added":null,"published":"2024-03-27"},{"cvss_score":8.7,"headline":"XSS with User Avatar image in ZITADEL","id":"CVE-2023-46238","kev_date_added":null,"published":"2023-10-26"}],"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":"Go Vulnerability Database","prefix":"GO"},{"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"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-25","vendors":["zitadel"]},"summary":"Attackers can bypass disabled user registration restrictions by directly accessing the registration URL, allowing unauthorized account creation.","url":"https://insights.sbomify.com/CVE-2024-49757/"}