Skip to content

fix(init): pin seamless-templates v0.19.1 - #268

Merged
Bccorb merged 1 commit into
mainfrom
fix/pin-templates-0.19.1
Oct 13, 2026
Merged

Bccorb merged 1 commit into
mainfrom
fix/pin-templates-0.19.1

Conversation

@Bccorb

@Bccorb Bccorb commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Security fix. seamless-cli 0.23.0 (and 0.22.0) scaffold starters whose Express, Fastify and Next.js adapters resolve @seamless-auth/core 0.19.1. That core's cookie guard accepted any adapter-signed cookie, so the pre-auth cookie /login issues for an existing account from an email address alone passed requireAuth as that account. Fixed in fells-code/seamless-auth-server#211 (core 0.20.0); the starters move to it in fells-code/seamless-templates#118, released as templates v0.19.1.

This bumps SEAMLESS_TEMPLATES_REF to v0.19.1 and SEAMLESS_TEMPLATES_COMMIT to 89ebd0f, with a patch changeset.

Verification

  • npm run check:templates-pin: matches v0.19.1
  • npm test: 1274 passed, 4 skipped
  • init --local --yes --email=... </dev/null with --express, --fastify, --nextjs: each exits 0 and the scaffolded package.json has @seamless-auth/express ^0.20.0, @seamless-auth/fastify ^0.11.1, @seamless-auth/nextjs ^0.4.0; the Next.js auth route exports PUT

Release this promptly after merge.

v0.19.1 moves the Express, Fastify and Next.js starters onto core 0.20.0,
which fixes the cookie guard accepting the pre-auth cookie as a session.
@Bccorb
Bccorb merged commit 1851736 into main Oct 13, 2026
5 checks passed
@Bccorb
Bccorb deleted the fix/pin-templates-0.19.1 branch October 13, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant