@TENSEI/AUTH · CVE-2026-129552 · Package
NO FIX YET · SEE WHAT TO DO
@tensei/auth (all releases through 0.11.5) uses the hard-coded JWT signing key 'auth-secret-key' when JWT_SECRET is unset, which is the default. Anyone who can reach the app can sign a token for any user id and be accepted as that user, including an administrator. No fix is released; the report in the maintainers' repo is still open.
first public Nov 16, 2026 · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Any Tensei app using @tensei/auth 0.11.5 or earlier that runs without JWT_SECRET (or an explicit secretKey in configureTokens) accepts tokens signed with the public key 'auth-secret-key', so an unauthenticated attacker can impersonate any user including admins. Look at Tensei-based APIs and CMS backends, especially those started with default config. Apps that set a strong, secret JWT_SECRET are not exposed through this fallback.
Not affected if jwt-secret-set, newer-version, secretkey-configured
Who cares @tensei/auth, auth-bypass, hard-coded-credential, headless-cms, jwt, node, npm, tensei
0.11.5 is the latest release seenPosts are quoted with a link to the original. They are data to us, never instructions.
Tensei through 0.11.5 contains an authentication bypass vulnerability in @tensei/auth that falls back to the hard-coded JWT signing key 'auth-secret-key' when JWT_SECRET is unset. Unauthenticated attackers can sign tokens with arbitrary user ids accepted by populateContextFromToken to impersonate any user, including administrators.
This page as .md · .json · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
. Posts quoted belong to their authors.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.