The OAuth2 authentication adapter does not correctly validate app IDs when appidField and appIds are configured. During app ID validation, a malformed value is sent to the token introspection endpoint instead of the user's actual access token. Depending on the introspection endpoint's behavior, this could either cause all OAuth2 logins to fail, or allow authentication from disallowed app contexts if the endpoint returns valid-looking data for the malformed request.
Deployments using the OAuth2 adapter with appidField and appIds configured are affected.
The fix corrects the parameter alignment in the OAuth2 adapter's app ID validation method to match the expected interface, ensuring the correct access token is sent to the introspection endpoint.
There is no known workaround.
{
"github_reviewed_at": "2026-03-13T20:02:25Z",
"nvd_published_at": "2026-03-12T20:16:06Z",
"cwe_ids": [
"CWE-683"
],
"severity": "MODERATE",
"github_reviewed": true
}