Visit the Wiz Whimzical Shop at AWS re:Invent
Vulnerability DatabaseGHSA-wf95-5mxm-9w7m

GHSA-wf95-5mxm-9w7m: 
JavaScript vulnerability analysis and mitigation

Summary

One user confirmation for an exchange-enabled client becomes the ability to mint admin-capable first-party sessions for the life of the parent session. ADR 0003 X2, X5 and X8 in seamless-auth-api say session exchange tokens are issued only at sign-in.

Details

The grant mislabel was re-read and confirmed. The end-to-end flow was traced by one reviewer. Code: seamless-auth-oidc-provider src/signingKey.ts:158-160; seamless-auth-api src/services/oidcSigning.ts:48-50,426. The edge reports grantType as authorization_code for everything that is not a device grant, refreshes included. The API's rule that a refresh is not a sign-in cannot tell the difference. Precondition: an exchange-enabled client that still has refresh_token in its grant types. The reviewer reports that is the registry default and nothing in the types schema forbids it. Steps: a program using the CLI's public client id asks for scope=openid offline_access session:exchange&prompt=consent&resource=<issuer>/seamless. The user confirms once. Every later grant_type=refresh_token call returns a fresh 60 second exchange token, and /sessions/exchange creates a new child session that inherits the parent's auth methods and step-up state.

Impact

Admin-capable first-party sessions minted for the life of the parent session, surviving CLI logout and child revocation.

Fix

  • Edge: send the real grant from ctx.oidc.params.grant_type.
  • API: refuse the exchange scope on refresh_token.
  • API registry: refuse refresh_token and offline_access on exchange-enabled clients.
  • Ship the edge and API fixes together; the API change lands in fells-code/seamless-auth-api.

Source

Internal security review of 2026-11-09, finding M9, 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