{"answers":{"affected":"3 open source packages ship an affected version, including github.com/casdoor/casdoor.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4210 exists.","fix":"Upgrade github.com/casdoor/casdoor to 1.812.0 or later.","what":"CVE-2025-4210 is a medium-severity missing authorization vulnerability in Casdoor, published on 2 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-4210 and fix it if it is affected.\n\nWhat it is: CVE-2025-4210 is a medium-severity missing authorization vulnerability in Casdoor, published on 2 May 2025. 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-2025-4210 exists.\n\nAffected packages and fixed versions:\n- github.com/casdoor/casdoor (Go): affected all versions; no fix listed\n- github.com/casdoor/casdoor (Go): affected all versions; fixed in 1.812.0\n- github.com/casdoor/casdoor (Go): affected all versions; fixed in 1.812.0\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-2025-4210/ (Markdown: https://insights.sbomify.com/CVE-2025-4210/index.md)","id":"CVE-2025-4210","markdown":"https://insights.sbomify.com/CVE-2025-4210/index.md","name":"CVE-2025-4210","record":{"aliases":["GHSA-8w8f-h4cm-c4pg","GO-2025-3661"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Casdoor identity provider","requires_auth":"none","summary":"Attackers can bypass authorization checks in the SCIM user creation endpoint to create unauthorized users, requiring an upgrade to Casdoor.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"},{"id":"CWE-285","name":"Improper Authorization"}],"description":"A vulnerability classified as critical was found in Casdoor up to 1.811.0. This vulnerability affects the function HandleScim of the file controllers/scim.go of the component SCIM User Creation Endpoint. The manipulation leads to authorization bypass. The attack can be initiated remotely. Upgrading to version 1.812.0 is able to address this issue. The name of the patch is 3d12ac8dc2282369296c3386815c00a06c6a92fe. It is recommended to upgrade the affected component.","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/2025/CVE-2025-4210.yaml","stars":null,"title":"Casdoor - Authorization Bypass"}],"tier":"weaponised"},"has_fix":true,"headline":"Casdoor SCIM User Creation Endpoint scim.go HandleScim authorization","id":"CVE-2025-4210","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2025"},"n_packages":3,"n_references":5,"next":{"headline":"Improper Link Resolution Before File Access in QFileSystemEngine on Windows","id":"CVE-2025-4211"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","source":"GO-2025-3661"},{"ecosystem":"Go","fixed":["1.812.0"],"introduced":["0"],"last_affected":[],"package":"github.com/casdoor/casdoor","purl":null,"source":"GHSA-8w8f-h4cm-c4pg"},{"ecosystem":"Go","fixed":["1.812.0"],"introduced":["0"],"last_affected":[],"package":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","source":"GHSA-8w8f-h4cm-c4pg"}],"prev":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2025-4209"},"products":["Casdoor"],"published":"2025-05-02","related":[],"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":"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":"2025-05-02","vendors":["n/a"]},"summary":"Attackers can bypass authorization checks in the SCIM user creation endpoint to create unauthorized users, requiring an upgrade to Casdoor.","url":"https://insights.sbomify.com/CVE-2025-4210/"}