{"answers":{"affected":"4 open source packages ship an affected version, including @better-auth/scim.","exploited":"There is no known exploitation of CVE-2026-67330 in the wild and no public exploit code.","fix":"Upgrade @better-auth/scim to a fixed version for your release line: 1.6.22 or 1.7.0-beta.10.","what":"CVE-2026-67330 is a critical authentication bypass vulnerability in better-auth scim, published on 1 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-67330 and fix it if it is affected.\n\nWhat it is: CVE-2026-67330 is a critical authentication bypass vulnerability in better-auth scim, published on 1 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-67330 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @better-auth/scim (npm): affected from 1.4.0-beta.27; fixed in 1.6.22\n- @better-auth/scim (npm): affected from 1.4.0-beta.27; fixed in 1.6.22\n- @better-auth/scim (npm): affected from 1.7.0-beta.0; fixed in 1.7.0-beta.10\n- @better-auth/scim (npm): affected from 1.7.0-beta.0; fixed in 1.7.0-beta.10\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-2026-67330/ (Markdown: https://insights.sbomify.com/CVE-2026-67330/index.md)","id":"CVE-2026-67330","markdown":"https://insights.sbomify.com/CVE-2026-67330/index.md","name":"CVE-2026-67330","record":{"aliases":["GHSA-6mwf-73fj-3358","GHSA-rjg6-39jm-rgg4"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"better-auth SCIM plugin","requires_auth":"low_privilege","summary":"Authenticated users can hijack accounts by minting SCIM tokens with colliding provider IDs, allowing unauthorized access and modification of global user data.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":9.4,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"@better-auth/scim (a better-auth plugin) versions \u003e= 1.4.0-beta.27 through \u003c= 1.6.21 and \u003e= 1.7.0-beta.0 through \u003c= 1.7.0-beta.9 contain an authorization bypass. SCIM token issuance did not reject provider IDs already used by existing SSO, SAML, OIDC, generic OAuth, or social account providers, and the same logical provider ID was used for both SCIM provider configuration and account ownership. An authenticated user could mint a SCIM token whose provider ID collided with an existing provider namespace, causing SCIM user routes to resolve account rows the token never provisioned. This allowed listing, reading, updating (including rewriting global profile/email fields without uniqueness checks), and deleting global user accounts and sessions, resulting in account takeover and unauthorized deprovisioning. Fixed in 1.6.22 and 1.7.0-beta.10 (1.7.0-rc.0).","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"better-auth SCIM 1.4.0-beta.27 through 1.6.21 Account Takeover via Provider-ID Collision","id":"CVE-2026-67330","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":4,"n_references":2,"next":{"headline":"better-auth SCIM 1.5.0 before 1.7.0-beta.4 Authorization Bypass","id":"CVE-2026-67331"},"packages":[{"ecosystem":"npm","fixed":["1.6.22"],"introduced":["1.4.0-beta.27"],"last_affected":[],"package":"@better-auth/scim","purl":null,"source":"GHSA-rjg6-39jm-rgg4"},{"ecosystem":"npm","fixed":["1.6.22"],"introduced":["1.4.0-beta.27"],"last_affected":[],"package":"@better-auth/scim","purl":"pkg:npm/%40better-auth/scim","source":"GHSA-rjg6-39jm-rgg4"},{"ecosystem":"npm","fixed":["1.7.0-beta.10"],"introduced":["1.7.0-beta.0"],"last_affected":[],"package":"@better-auth/scim","purl":null,"source":"GHSA-rjg6-39jm-rgg4"},{"ecosystem":"npm","fixed":["1.7.0-beta.10"],"introduced":["1.7.0-beta.0"],"last_affected":[],"package":"@better-auth/scim","purl":"pkg:npm/%40better-auth/scim","source":"GHSA-rjg6-39jm-rgg4"}],"prev":{"headline":"@better-auth/stripe before 1.6.21 Authorization Bypass via Organization Subscription","id":"CVE-2026-67329"},"products":["scim"],"published":"2026-08-01","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["better-auth"]},"summary":"Authenticated users can hijack accounts by minting SCIM tokens with colliding provider IDs, allowing unauthorized access and modification of global user data.","url":"https://insights.sbomify.com/CVE-2026-67330/"}