Visit the Wiz Whimzical Shop at AWS re:Invent
Vulnerability DatabaseGHSA-whmp-4gff-3wj4

GHSA-whmp-4gff-3wj4: 
JavaScript vulnerability analysis and mitigation

Summary

A user that a post_login hook would deny (suspended upstream, geo or IP rule), or whose claims a pre_token hook should set, can get a full session that never passed either hook by going through a recovery session. ADR 0005 E5 justifies skipping hooks because a recovery session "can only enroll a factor". That stops being true when the restriction lifts.

Details

Code: src/services/sessionIssuance.ts:141-158, src/services/sessionService.ts:414-423, src/controllers/webauthn.ts:414, src/controllers/totp.ts:133, comment at src/controllers/authentication.ts:693.

  1. /login, then POST /recovery-codes/redeem or the account recovery flow. Recovery codes are on by default and a first set needs only a session.
  2. issueSessionAndRespond skips both hooks when recovery is true.
  3. Enrol a passkey or TOTP. liftRecoveryRestriction only sets recovery=false on the session row.
  4. The next /refresh mints a full access token. Hooks do not run on refresh.

Impact

A full session with roles and permissions that never passed the deny hook and carries no pre_token claims.

Fix

Run post_login and pre_token when lifting the restriction, or revoke the session at that point and force a fresh sign-in. Update ADR 0005 E5 to match.

Source

Internal security review of 2026-11-09, finding H2, read at seamless-auth-api afd4495. Found by reading code; no exploit was run. Tracked in the v0.24 milestone.


Source: NVD

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-141544HIGH7.4
  • JavaScript logoJavaScript
  • @convex-dev/auth
NoYesDec 02, 2026
GHSA-wmpw-3r4v-3cfqMEDIUMN/A
  • JavaScript logoJavaScript
  • seamless-auth-api
NoYesDec 02, 2026
GHSA-whmp-4gff-3wj4HIGHN/A
  • JavaScript logoJavaScript
  • seamless-auth-api
NoYesDec 02, 2026
GHSA-wf95-5mxm-9w7mMEDIUMN/A
  • JavaScript logoJavaScript
  • @seamless-auth/oidc-provider
NoYesDec 02, 2026
GHSA-rpv3-mpqm-rvhxMEDIUMN/A
  • JavaScript logoJavaScript
  • seamless-auth-api
NoYesDec 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management