Skip to main content
EPSS 0.4%top 71%

CVE-2026-67330: Improper Input Validation in better-auth scim

0
Critical
Published: 08/01/2026 (08/01/2026, 12:22:16 UTC)
Source: CVE Database V5
Vendor/Project: better-auth
Product: scim

Description

@better-auth/scim (a better-auth plugin) versions >= 1.4.0-beta.27 through <= 1.6.21 and >= 1.7.0-beta.0 through <= 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).

CVSS v4.0

Score 9.4critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
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

Affected software

better-auth

scim

Affected versions
>=1.4.0-beta.27

better-auth

scim

Affected versions
>=1.7.0-beta.0
@better-auth/scim
pkg:npm/@better-auth/scim
Affected versions
=1.4.0-beta.27<=1.6.21=1.7.0-beta.0=1.7.0-beta.9

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 14:32:42 UTC

Technical Analysis

The vulnerability in better-auth scim arises from improper input validation where SCIM token issuance does not reject provider IDs already assigned to existing identity providers (SSO, SAML, OIDC, OAuth, social accounts). Because the same logical provider ID is used for both SCIM provider configuration and account ownership, an authenticated user can create a SCIM token with a colliding provider ID. This causes SCIM user routes to resolve account data for accounts the token never provisioned, allowing unauthorized access to list, read, update (including global profile and email fields without uniqueness checks), and delete user accounts and sessions. This results in account takeover and unauthorized deprovisioning. The issue is resolved in versions 1.6.22 and 1.7.0-beta.10 (1.7.0-rc.0).

Potential Impact

An authenticated user can bypass authorization controls by minting SCIM tokens with provider IDs that collide with existing identity providers, enabling unauthorized access to global user accounts and sessions. This includes the ability to list, read, update (including rewriting global profile and email fields without uniqueness checks), and delete accounts and sessions. The impact includes account takeover and unauthorized deprovisioning, representing a critical security risk.

Mitigation Recommendations

A fix is available in better-auth scim versions 1.6.22 and 1.7.0-beta.10 (1.7.0-rc.0). Users should upgrade to these versions or later to remediate this vulnerability. No vendor advisory content is provided to indicate alternative mitigations or temporary workarounds.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-07-29T13:07:47.015Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a6deb26bf32cb7a34c1fc25

Added to database: 08/01/2026, 12:48:38 UTC

Last enriched: 08/08/2026, 14:32:42 UTC

Last updated: 09/15/2026, 22:01:36 UTC

Views: 77

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses