CVE-2026-34969: Go Oauth Session Credential In Redirect Url Query

A session credential ($CRED) is written into a URL query value set under the parameter name $KEY, and that same value set is serialized back into a URL ($VALUES.Encode()) inside the same function, so the credential is handed to a client through the front channel (302 Location). Bearer credentials delivered through the front channel leak into browser history,

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-34969-go-oauth-session-credential-in-redirect-url-query --engine opengrep

Description

A session credential ($CRED) is written into a URL query value set under the parameter name $KEY, and that same value set is serialized back into a URL ($VALUES.Encode()) inside the same function, so the credential is handed to a client through the front channel (302 Location). Bearer credentials delivered through the front channel leak into browser history,