Advisories for Golang/Github.com/Nhost/Nhost package

2026

Nhost Leaks Refresh Tokens via URL Query Parameter in OAuth Provider Callback

The auth service's OAuth provider callback flow places the refresh token directly into the redirect URL as a query parameter. Refresh tokens in URLs are logged in browser history, server access logs, HTTP Referer headers, and proxy/CDN logs. Note that the refresh token is one-time use and all of these leak vectors are on owned infrastructure or services integrated by the application developer.