Skip to content

fix(security): pin @better-auth/scim to 1.7.0-rc.1 (clears GHSA-j8v8-g9cx-5qf4 high) - #2710

Merged
os-zhuang merged 1 commit into
mainfrom
fix/scim-cve-audit
Jul 9, 2026
Merged

fix(security): pin @better-auth/scim to 1.7.0-rc.1 (clears GHSA-j8v8-g9cx-5qf4 high)#2710
os-zhuang merged 1 commit into
mainfrom
fix/scim-cve-audit

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Problem

The CI Validate Package Dependencies gate (pnpm audit --audit-level=high) now fails on @better-auth/scimGHSA-j8v8-g9cx-5qf4, account/provider takeover (high). plugin-auth depends on ^1.6.23, which is the package's latest dist-tag, so main is on the vulnerable line too and its audit gate fails post-disclosure. This blocks every open framework PR.

The catch

The advisory is patched only in >=1.7.0-beta.4 — there is no stable patched release:

latest = 1.6.23 (vulnerable) · newest = 1.7.0-rc.1 · dist-tags: beta=1.7.0-beta.10, rc=1.7.0-rc.1

So clearing the high advisory means moving to a pre-release. This PR is deliberately isolated so that trade-off is reviewed on its own.

Change

Pin @better-auth/scim to 1.7.0-rc.1 (newest pre-release) via a pnpm-workspace.yaml override — the same mechanism already used for the esbuild / form-data / undici advisories.

Verification

  • pnpm audit --audit-level=highhigh count 0 (was 1 high; now 2 low | 7 moderate, gate passes).
  • @objectstack/plugin-auth builds and its full suite (230 tests) passes against rc.1 — the SCIM API is compatible.

Follow-up

Revert to a stable ^1.7.x line the moment one ships (latest moves off 1.6.23).

Reviewer decision: this accepts a SCIM release candidate as a production dependency to close a high CVE. If you'd rather keep 1.6.23 and allowlist the advisory instead, say so and I'll swap the approach.

🤖 Generated with Claude Code

…-g9cx-5qf4 (high)

pnpm audit --audit-level=high (the CI 'Validate Package Dependencies' gate)
flags @better-auth/scim: account/provider takeover (GHSA-j8v8-g9cx-5qf4,
high). plugin-auth depends on ^1.6.23 — the package's 'latest' dist-tag — but
the advisory is patched ONLY in >=1.7.0-beta.4, and there is no stable patched
release yet (latest = 1.6.23, newest overall = 1.7.0-rc.1).

Pin to the newest pre-release (1.7.0-rc.1) via a pnpm-workspace override, the
same mechanism already used for the esbuild / form-data / undici advisories.
plugin-auth builds and its full suite (230 tests) passes against rc.1, so the
SCIM API is compatible. Revert to a stable ^1.7.x line the moment one ships.

This unblocks the audit gate for every open framework PR (main is on the same
vulnerable 1.6.23 and now fails the gate too, post-disclosure).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jul 9, 2026 4:43am

Request Review

@github-actions github-actions Bot added dependencies Pull requests that update a dependency file size/xs labels Jul 9, 2026
@os-zhuang
os-zhuang merged commit 602053c into main Jul 9, 2026
16 checks passed
@os-zhuang
os-zhuang deleted the fix/scim-cve-audit branch July 9, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant